填寫這份《一分鐘調查》,幫我們(開發組)做得更好!去填寫Home

FormatWidth

可用於日期時間格式的字串寬度。特定的字元寬度是特定於語言環境的。示例中是給 en-US 的示例。

String widths available for date-time formats. The specific character widths are locale-specific. Examples are given for en-US.

參見

      
      enum FormatWidth {
  Short
  Medium
  Long
  Full
}
    

成員列表

成員說明
Short

對於 en-US,是 'M/d/yy, h:mm a'(例如:6/15/15, 9:03 AM`)

For en-US, 'M/d/yy, h:mm a'(Example:6/15/15, 9:03 AM`)

Medium

對於 en-US,是 'MMM d, y, h:mm:ss a'(例如: Jun 15, 2015, 9:03:01 AM

For en-US, 'MMM d, y, h:mm:ss a' (Example: Jun 15, 2015, 9:03:01 AM)

Long

對於 en-US,是 'MMMM d, y, h:mm:ss a z',(例如: June 15, 2015 at 9:03:01 AM GMT+1

For en-US, 'MMMM d, y, h:mm:ss a z' (Example: June 15, 2015 at 9:03:01 AM GMT+1)

Full

對於 en-US,是 'EEEE, MMMM d, y, h:mm:ss a zzzz'(例如:Monday, June 15, 2015 at 9:03:01 AM GMT+01:00

For en-US, 'EEEE, MMMM d, y, h:mm:ss a zzzz' (Example: Monday, June 15, 2015 at 9:03:01 AM GMT+01:00)