Class

EKRecurrenceDayOfWeek

A class that represents the day of the week.

Declaration

@interface EKRecurrenceDayOfWeek : NSObject

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

The day of the week.

+ dayOfWeek:

Creates and returns a day of the week with a given day.

+ dayOfWeek:weekNumber:

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

- initWithDayOfTheWeek:weekNumber:

Initializes and returns a day of the week with a given day and week number.

Accessing Properties of a Day of the Week

dayOfTheWeek

The day of the week.

weekNumber

The week number of the day of the week.

Relationships

Inherits From

See Also

Recurrence

Creating a Recurring Event

Set up an event or reminder that repeats.

EKRecurrenceEnd

A class that defines the end of a recurrence rule.

EKRecurrenceRule

A class that describes the recurrence pattern for a recurring event.

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