Enumeration Case

Calendar.Component.weekday

Identifier for the weekday unit.

Declaration

case weekday

Discussion

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.