Pre-defined format specifiers for use with utilities/format/date!format.

Enumeration Members

DATE_LONG

A localized long representation of a date (e.g. "September 4 1986" for en-US locale).

DATE_SHORT

A localized representation of a date (e.g. "09/04/1986" for en-US locale).

DATE_TIME_LONG

A localized long representation of date and time (e.g. "September 4 1986 8:30 PM" for en-US locale).

DATE_TIME_SHORT

A localized representation of date and time (e.g. "Sep 4 1986 8:30 PM" for en-US locale).

DEFAULT

The default representation for date values (equivalent to DATE_TIME_SHORT).

FULL

A localized full representation of date and time, including day of week (e.g. "Thursday, September 4 1986 8:30 PM" for en-US locale).

ISO_8601

The date and time in ISO-8601 format (e.g. "2014-09-08T08:02:17-05:00"). Invariant.

ROUND_TRIP

An invariant representation of a date. Guarantees that the date can be parsed back into the same date, regardless of locale. Equivalent to ISO-8601.

TIME_LONG

A localized representation of the time including seconds (e.g. "8:30:25 PM" for en-US locale).

TIME_SHORT

A localized short representation of the time (e.g. "8:30 PM" for en-US locale).