Type Property

yearForWeekOfYear

Identifier for the week-counting year unit.

Declaration

static var yearForWeekOfYear: NSCalendar.Unit { get }

Discussion

See the DateComponents property yearForWeekOfYear for a discussion of the semantics of this component.

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 quarter: NSCalendar.Unit

Identifier for the quarter of the calendar.

static var month: NSCalendar.Unit

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