---
title: EKRecurrenceDayOfWeek
framework: eventkit
role: symbol
role_heading: Class
path: eventkit/ekrecurrencedayofweek
---

# EKRecurrenceDayOfWeek

A class that represents the day of the week.

## Declaration

```swift
class EKRecurrenceDayOfWeek
```

## Mentioned in

Creating a recurring event

## Overview

Overview The EKRecurrenceDayOfWeek class represents a day of the week for use with an EKRecurrenceRule object. 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.

## Topics

### Creating a Day of the Week

- [EKWeekday](eventkit/ekweekday.md)
- [init(_:)](eventkit/ekrecurrencedayofweek/init(_:).md)
- [init(_:weekNumber:)](eventkit/ekrecurrencedayofweek/init(_:weeknumber:).md)
- [init(dayOfTheWeek:weekNumber:)](eventkit/ekrecurrencedayofweek/init(dayoftheweek:weeknumber:).md)

### Accessing Properties of a Day of the Week

- [dayOfTheWeek](eventkit/ekrecurrencedayofweek/dayoftheweek.md)
- [weekNumber](eventkit/ekrecurrencedayofweek/weeknumber.md)

### Initializers

- [init(coder:)](eventkit/ekrecurrencedayofweek/init(coder:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Recurrence

- [Creating a recurring event](eventkit/creating-a-recurring-event.md)
- [EKRecurrenceEnd](eventkit/ekrecurrenceend.md)
- [EKRecurrenceRule](eventkit/ekrecurrencerule.md)
