FormatWidth
enum
Deprecated
String widths available for date-time formats.
The specific character widths are locale-specific.
Examples are given for en-US
.
API
enum FormatWidth {}
Short
For en-US
, 'M/d/yy, h:mm a'
(Example: 6/15/15, 9:03 AM
)
Medium
For en-US
, 'MMM d, y, h:mm:ss a'
(Example: Jun 15, 2015, 9:03:01 AM
)
Long
For en-US
, 'MMMM d, y, h:mm:ss a z'
(Example: June 15, 2015 at 9:03:01 AM GMT+1
)
Full
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
)
Jump to details