Contents

init(_:weekNumber:)

Creates and returns an autoreleased day of the week with a given day and week number.

Declaration

convenience init(_ dayOfTheWeek: EKWeekday, weekNumber: Int)

Parameters

  • dayOfTheWeek:

    The day of the week. Values range from 1 to 7, with Sunday being 1.

  • weekNumber:

    The week number.

Return Value

The new day of the week.

See Also

Creating a Day of the Week