填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写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)