Type Property

month

Identifier for the month unit.

Declaration

static var month: NSCalendar.Unit { get }

Discussion

The corresponding value is an NSInteger. Equal to kCFCalendarUnitMonth.

See Also

Specifying Years and Months

static var era: NSCalendar.Unit

Identifier for the era unit.

static var year: NSCalendar.Unit

Identifier for the year unit.

static var yearForWeekOfYear: NSCalendar.Unit

Identifier for the week-counting year unit.

static var quarter: NSCalendar.Unit

Identifier for the quarter of the calendar.