DateSymbols class Null safety

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>
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
hashCode → int
The hash code for this object.
read-onlyinherited
MONTHS ↔ List<String>
read / write
NAME ↔ String
read / write
NARROWMONTHS ↔ List<String>
read / write
NARROWWEEKDAYS ↔ List<String>
read / write
QUARTERS ↔ List<String>
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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