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

Enumeration Members

DEFAULT

The default representation for time values (equivalent to TIME_SHORT).

ISO_8601

The time in ISO-8601 format (e.g. "08:02:17"). Invariant.

ROUND_TRIP

An invariant representation of a time. Guarantees that the time can be parsed back into the same time. 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).