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

Properties

AMPMS List<String>
getter/setter pair
AVAILABLEFORMATS Map<String, String>?
getter/setter pair
DATEFORMATS List<String>
getter/setter pair
DATETIMEFORMATS List<String>
getter/setter pair
ERANAMES List<String>
getter/setter pair
ERAS List<String>
getter/setter pair
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.
getter/setter pair
FIRSTWEEKCUTOFFDAY int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
MONTHS List<String>
getter/setter pair
NAME String
getter/setter pair
NARROWMONTHS List<String>
getter/setter pair
NARROWWEEKDAYS List<String>
getter/setter pair
QUARTERS List<String>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
SHORTMONTHS List<String>
getter/setter pair
SHORTQUARTERS List<String>
getter/setter pair
SHORTWEEKDAYS List<String>
getter/setter pair
STANDALONEMONTHS List<String>
getter/setter pair
STANDALONENARROWMONTHS List<String>
getter/setter pair
STANDALONENARROWWEEKDAYS List<String>
getter/setter pair
STANDALONESHORTMONTHS List<String>
getter/setter pair
STANDALONESHORTWEEKDAYS List<String>
getter/setter pair
STANDALONEWEEKDAYS List<String>
getter/setter pair
TIMEFORMATS List<String>
getter/setter pair
WEEKDAYS List<String>
getter/setter pair
WEEKENDRANGE List<int>
Which days are weekend days, integers where 0=Monday.
getter/setter pair
ZERODIGIT String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serializeToMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited