Enumeration Case


Identifier for the weekday unit.


case weekday


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

case weekOfYear

Identifier for the week of the year unit.

case weekOfMonth

Identifier for the week of the month calendar unit.

case weekdayOrdinal

Identifier for the weekday ordinal unit.

case day

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