Enumeration Case


An offset date style.


case offset = 1


The resulting value gives the time offset using a single key unit. For example, values might be “10 hours”, or “9 minutes” depending on the total amount of time between the current date and the date you specified.

See Also

Date Styles

case natural

A natural date style.

case naturalAbbreviated

An abbreviated, natural date style.

case naturalFull

A natural date style using unabbreviated units, when possible.

case offsetShort

A short offset date style.

case timer

A timer style.