Enumeration Case

Calendar.Component.year

Identifier for the year unit.

Declaration

case year

See Also

Specifying Years and Months

case era

Identifier for the era unit.

case yearForWeekOfYear

Identifier for the week-counting year unit.

case quarter

Identifier for the quarter of the calendar.

case month

Identifier for the month unit.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software