Enumeration Case

DateComponentsFormatter.UnitsStyle.full

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

Declaration

case full = 3

Discussion

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 “3 years, 9 months, 26 days, 19 hours, 17 seconds”.

See Also

Styles

case spellOut

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

case short

A style that uses a shortened spelling for units.

case brief

A style that uses a shortened spelling for units of time that is shorter than DateComponentsFormatter.UnitsStyle.short.

case abbreviated

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

case positional

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