Contents

NSCalendar.Unit

Calendrical units such as year, month, day and hour.

Declaration

struct Unit

Overview

Calendar units may be used as a bit mask to specify a combination of units. Values in this enumeration are equal to the corresponding constants in CFCalendarUnit.

Topics

Initializers

Specifying Years and Months

Specifying Weeks and Days

Specifying Hours, Minutes, and Seconds

Specifying Calendars and Time Zones

Deprecated

See Also

Getting Calendar Information