Instance Property

daysOfTheYear

The days of the year associated with the recurrence rule, as an array of NSNumber objects.

Declaration

@property(nonatomic, readonly) NSArray<NSNumber *> *daysOfTheYear;

Discussion

Values can be from 1 to 366 and from -1 to -366. This property value is valid only for recurrence rules initialized with a frequency type of EKRecurrenceFrequencyYearly.

Negative values indicate counting backwards from the end of the year.

See Also

Accessing Recurrence Rule Properties

EKRecurrenceFrequency

The frequency for recurrence rules.

calendarIdentifier

The identifier for the recurrence rule’s calendar.

recurrenceEnd

Indicates when the recurrence rule ends.

frequency

The frequency of the recurrence rule.

interval

Specifies how often the recurrence rule repeats over the unit of time indicated by its frequency.

firstDayOfTheWeek

Indicates which day of the week the recurrence rule treats as the first day of the week.

daysOfTheWeek

The days of the week associated with the recurrence rule, as an array of EKRecurrenceDayOfWeek objects.

daysOfTheMonth

The days of the month associated with the recurrence rule, as an array of NSNumber objects.

weeksOfTheYear

The weeks of the year associated with the recurrence rule, as an array of NSNumber objects.

monthsOfTheYear

The months of the year associated with the recurrence rule, as an array of NSNumber objects.

setPositions

An array of ordinal numbers that filters which recurrences to include in the recurrence rule’s frequency.