ILibDateFmtOptions class

Constructors

ILibDateFmtOptions.new({String? locale, String? length, String? type, String? calendar, String? timezone, bool? useNative, String? date, String? time, String? meridiems})
locale Locales are specified either with a specifier string that follows the BCP-47 convention, length Specifies the length of the format to use.Valid values are "short", "medium", "long" and "full". type Specifies whether this formatter should format times only, dates only, or both times and dates together. Valid values are "time", "date", and "datetime". calendar The type of calendar to use for this format. timezone Time zone to use when formatting times. useNative The flag used to determine whether to use the native script settings for formatting the numbers. date This property tells which components of a date format to use. Valid values are: "dmwy", "dmy", "dmw", "dm", "my", "dw", "d", "m","n","y". Default components, if this property is not specified, is "dmy". time This property gives which components of a time format to use. Valid values for this property are: "ahmsz", "ahms", "hmsz", "hms", "ahmz", "ahm", hmz", ah", "hm", "ms", "h", "m", "s". Default value if this property is not specified is "hma". meridiems string that specifies what style of meridiems to use with this format. The choices are "default", "gregorian", "ethiopic", and "chinese".

Properties

calendar String?
getter/setter pair
date String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
length String?
getter/setter pair
locale String?
getter/setter pair
meridiems String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
time String?
getter/setter pair
timezone String?
getter/setter pair
type String?
getter/setter pair
useNative bool?
getter/setter pair

Methods

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

Operators

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