Enumeration Case

NSCalendarUnitWeekday

Identifier for the weekday unit.

Declaration

NSCalendarUnitWeekday = kCFCalendarUnitWeekday

Discussion

The corresponding value is an NSInteger. Equal to kCFCalendarUnitWeekday. The weekday units are the numbers 1 through N (where for the Gregorian calendar N=7 and 1 is Sunday).

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.

NSCalendarUnitWeekdayOrdinal

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