A class that represents the day of the week.
- iOS 4.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- watchOS 2.0+
EKRecurrence class represents a day of the week for use with an
A day of the week can optionally have a week number, indicating a specific day in the recurrence rule’s frequency. For example, a day of the week with a day value of Tuesday and a week number of 2 would represent the second Tuesday of every month in a monthly recurrence rule, and the second Tuesday of every year in a yearly recurrence rule. A day of the week with a week number of 0 ignores its week number.