Create an instance of FluentDateTime
with options to the
Intl.DateTimeFormat
constructor.
The number value of this FluentDateTime
, in milliseconds.
Options which will be passed to Intl.DateTimeFormat
.
Options passed to Intl.DateTimeFormat
.
The wrapped native value.
Convert this FluentDateTime
to a number.
Note that this isn't always possible due to the nature of Temporal objects.
In such cases, a TypeError will be thrown.
Unwrap the raw value stored by this FluentType
.
Static
supports
A FluentType representing a date and time.
A
FluentDateTime
instance stores a Date object, Temporal object, or a number as a numerical timestamp in milliseconds. It may also store an option bag of options which will be passed toIntl.DateTimeFormat
when theFluentDateTime
is formatted to a string.