Enumeration Case

NSCalendarUnitWeekdayOrdinal

Identifier for the ordinal weekday unit.

Declaration

NSCalendarUnitWeekdayOrdinal = kCFCalendarUnitWeekdayOrdinal

Discussion

The corresponding value is an NSInteger. Equal to kCFCalendarUnitWeekdayOrdinal. The weekday ordinal unit describes ordinal position within the month unit of the corresponding weekday unit. For example, in the Gregorian calendar a weekday ordinal unit of 2 for a weekday unit 3 indicates “the second Tuesday in the month”.

See Also

Specifying Weeks and Days

NSCalendarUnitWeekOfYear

Identifier for the week of the year calendar unit.

NSCalendarUnitWeekOfMonth

Identifier for the week of the month calendar unit.

NSCalendarUnitWeekday

Identifier for the weekday unit.

NSCalendarUnitDay

Identifier for the day 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