enum abstract DateTimeNameContext(Null<Int>)
package openfl.globalization
Available on all platforms
The DateTimeNameContext class enumerates constant values representing the
formatting context in which a month name or weekday name is used. These
constants are used for the context parameters for the DateTimeFormatter's
getMonthNames()
and getWeekDayNames()
methods.
The context parameter only changes the results of those methods for certain locales and operating systems. For most locales, the lists of month names and weekday names do not differ by context.
Variables
inlineread onlyFORMAT:DateTimeNameContext = 0
Indicates that the date element name is used within a date format.
inlineread onlySTANDALONE:DateTimeNameContext = 1
Indicates that the date element name is used in a "stand alone" context, independent of other formats. For example, the name can be used to show only the month name in a calendar or the weekday name in a date chooser.