Enumeration Case

NSDateComponentsFormatterUnitsStyleAbbreviated

A style that uses the most abbreviated spelling for units of time.

Declaration

NSDateComponentsFormatterUnitsStyleAbbreviated

Discussion

This style represents the shortest representation of units and quantities of time.

For example, the quantity of 3 years, 9 months, 26 days, 19 hours, and 17 seconds is displayed in the U.S. English locale as “3y 9mo 26d 19h 17s”.

See Also

Styles

NSDateComponentsFormatterUnitsStyleSpellOut

A style that spells out the units and quantities of time.

NSDateComponentsFormatterUnitsStyleFull

A style that spells out the units of time, but not the quantities.

NSDateComponentsFormatterUnitsStyleShort

A style that uses a shortened spelling for units.

NSDateComponentsFormatterUnitsStyleBrief

A style that uses a shortened spelling for units of time that is shorter than NSDateComponentsFormatterUnitsStyleShort.

NSDateComponentsFormatterUnitsStylePositional

A style that uses the position of a unit of time to identify its value.