ILibDateFmtOptions constructor
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".
Implementation
ILibDateFmtOptions(
{this.locale,
this.length,
this.type,
this.calendar,
this.timezone,
this.useNative,
this.date,
this.time,
this.meridiems});