DateSymbols class

This holds onto information about how a particular locale formats dates. It contains mostly strings, e.g. what the names of months or weekdays are, but also indicates things like the first day of the week. We expect the data for instances of these to be generated out of ICU or a similar reference source. This is used in conjunction with the date_time_patterns, which defines for a particular locale the different named formats that will make use of this data.

Constructors

DateSymbols({String NAME, List<String> ERAS, List<String> ERANAMES, List<String> NARROWMONTHS, List<String> STANDALONENARROWMONTHS, List<String> MONTHS, List<String> STANDALONEMONTHS, List<String> SHORTMONTHS, List<String> STANDALONESHORTMONTHS, List<String> WEEKDAYS, List<String> STANDALONEWEEKDAYS, List<String> SHORTWEEKDAYS, List<String> STANDALONESHORTWEEKDAYS, List<String> NARROWWEEKDAYS, List<String> STANDALONENARROWWEEKDAYS, List<String> SHORTQUARTERS, List<String> QUARTERS, List<String> AMPMS, String ZERODIGIT, List<String> DATEFORMATS, List<String> TIMEFORMATS, Map<String, String> AVAILABLEFORMATS, int FIRSTDAYOFWEEK, List<int> WEEKENDRANGE, int FIRSTWEEKCUTOFFDAY, List<String> DATETIMEFORMATS })
DateSymbols.deserializeFromMap(Map map)

Properties

AMPMS List<String>
read / write
AVAILABLEFORMATS Map<String, String>
read / write
DATEFORMATS List<String>
read / write
DATETIMEFORMATS List<String>
read / write
ERANAMES List<String>
read / write
ERAS List<String>
read / write
FIRSTDAYOFWEEK int
The first day of the week, in ISO 8601 style, where the first day of the week, i.e. index 0, is Monday.
read / write
FIRSTWEEKCUTOFFDAY int
read / write
MONTHS List<String>
read / write
NAME String
read / write
NARROWMONTHS List<String>
read / write
NARROWWEEKDAYS List<String>
read / write
QUARTERS List<String>
read / write
SHORTMONTHS List<String>
read / write
SHORTQUARTERS List<String>
read / write
SHORTWEEKDAYS List<String>
read / write
STANDALONEMONTHS List<String>
read / write
STANDALONENARROWMONTHS List<String>
read / write
STANDALONENARROWWEEKDAYS List<String>
read / write
STANDALONESHORTMONTHS List<String>
read / write
STANDALONESHORTWEEKDAYS List<String>
read / write
STANDALONEWEEKDAYS List<String>
read / write
TIMEFORMATS List<String>
read / write
WEEKDAYS List<String>
read / write
WEEKENDRANGE List<int>
Which days are weekend days, integers where 0=Monday. [...]
read / write
ZERODIGIT String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

serializeToMap() Map
toString() String
Returns a string representation of this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited