init(dayOfTheWeek:weekNumber:)
Initializes and returns a day of the week with a given day and week number.
Declaration
init(dayOfTheWeek: EKWeekday, weekNumber: Int)Parameters
- dayOfTheWeek:
The day of the week. Values range from
1to7, with Sunday being1. - weekNumber:
The week number.
Return Value
The initialized day of the week.