Format

A Format is the platonic ideal of a specific format string.

For datetime formats such as RFC1123 or ISO8601, there are many potential formats. Like '2017-01-01' is a valid ISO8601 date. So is '2017-01-01T15:31:00'. A Format object can describe all allomorphs of a format.

Members

Variables

formatOptions
string[] formatOptions;

Other formats that count as part of this Format, used for parsing.

primaryFormat
string primaryFormat;

The canonical format, to be used when formatting a datetime.

Meta