Type Property

weekOfYear

Identifier for the week of the year calendar unit.

Declaration

static var weekOfYear: NSCalendar.Unit { get }

See Also

Specifying Weeks and Days

static var weekOfMonth: NSCalendar.Unit

Identifier for the week of the month calendar unit.

static var weekday: NSCalendar.Unit

Identifier for the weekday unit.

static var weekdayOrdinal: NSCalendar.Unit

Identifier for the ordinal weekday unit.

static var day: NSCalendar.Unit

Identifier for the day unit.