Instance Property

weekNumber

The week number of the day of the week.

Declaration

var weekNumber: Int { get }

Discussion

Values range from –53 to 53. A negative value indicates a value from the end of the range. 0 indicates the week number is irrelevant.

See Also

Accessing Properties of a Day of the Week

var dayOfTheWeek: EKWeekday

The day of the week.

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