enum abstract DateTimeNameStyle(Null<Int>)
package openfl.globalization
Available on all platforms
The DateTimeNameStyle class enumerates constants that control the length of
the month names and weekday names that are used when formatting dates. Use
these constants for the nameStyle
parameter of the DateTimeFormatter
getMonthNames()
and getWeekDayNames()
methods.
The LONG_ABBREVIATION
and SHORT_ABBREVIATION
may be the same or
different depending on the operating system and browser settings.
Variables
inlineread onlyFULL:DateTimeNameStyle = 0
Specifies the full form or full name style for month names and weekday names. Examples: Tuesday, November.
inlineread onlyLONG_ABBREVIATION:DateTimeNameStyle = 1
Specifies the long abbreviation style for month names and weekday names. Examples: Tues for Tuesday, Nov for November.
inlineread onlySHORT_ABBREVIATION:DateTimeNameStyle = 2
Specifies the short abbreviation style for month names and weekday names. Examples: T for Tuesday, N for November.