Platforms to show: All Mac Windows Linux Cross-Platform

Back to EKRecurrenceRuleMBS class.

EKRecurrenceRuleMBS.Constructor(type as Integer, interval as Integer, days() as EKRecurrenceDayOfWeekMBS, monthDays() as Integer, months() as Integer, weeksOfTheYear() as Integer, daysOfTheYear() as Integer, setPositions() as Integer, end as EKRecurrenceEndMBS = nil)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Initializes and returns a recurrence rule with a given frequency and additional scheduling information.

type: The frequency of the recurrence rule. Can be daily, weekly, monthly, or yearly.
interval: The interval between instances of this recurrence. For example, a weekly recurrence rule with an interval of 2 occurs every other week. Must be greater than 0.
days: The days of the week that the event occurs, as an array of EKRecurrenceDayOfWeek objects.
monthDays: The days of the month that the event occurs, as an array of integers. Values can be from 1 to 31 and from -1 to -31. This parameter is only valid for recurrence rules of type EKRecurrenceFrequencyMonthly.
months: the months of the year that the event occurs, as an array of integers. Values can be from 1 to 12. This parameter is only valid for recurrence rules of type EKRecurrenceFrequencyYearly.
weeksOfTheYear: The weeks of the year that the event occurs, as an array of integers. Values can be from 1 to 53 and from -1 to -53. This parameter is only valid for recurrence rules of type EKRecurrenceFrequencyYearly.
daysOfTheYear: The days of the year that the event occurs, as an array of integers. Values can be from 1 to 366 and from -1 to -366. This parameter is only valid for recurrence rules of type EKRecurrenceFrequencyYearly.
setPositions: An array of ordinal numbers that filters which recurrences to include in the recurrence rule’s frequency. See setPositions for more information.
end: The end of the recurrence rule.

Handle is zero if invalid values are provided.

Negative values indicate counting backwards from the end of the recurrence rule’s frequency.

See also:

EKRecurrenceRuleMBS.Constructor(type as Integer, interval as Integer, end as EKRecurrenceEndMBS = nil)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Initializes and returns a simple recurrence rule with a given frequency, interval, and end.

type: The frequency of the recurrence rule. Can be daily, weekly, monthly, or yearly.
interval: The interval between instances of this recurrence. For example, a weekly recurrence rule with an interval of 2 occurs every other week. Must be greater than 0.
end: The end of the recurrence rule.

Handle is zero if invalid values are provided.

See also:

EKRecurrenceRuleMBS.copy as EKRecurrenceRuleMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Creates a copy of the recurrence rule.

EKRecurrenceRuleMBS.daysOfTheMonth as Integer()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The days of the month associated with the recurrence rule, as an array of integers.

Values can be from 1 to 31 and from -1 to -31.This property value is valid only for recurrence rules that were initialized with specific days of the month and a frequency type of EKRecurrenceFrequencyMonthly.
Negative values indicate counting backwards from the end of the month.

EKRecurrenceRuleMBS.daysOfTheWeek as EKRecurrenceDayOfWeekMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The days of the week associated with the recurrence rule, as an array of EKRecurrenceDayOfWeek objects.

This property value is valid only for recurrence rules that were initialized with specific days of the week and a frequency type of EKRecurrenceFrequencyWeekly, EKRecurrenceFrequencyMonthly, or EKRecurrenceFrequencyYearly.

EKRecurrenceRuleMBS.daysOfTheYear as Integer()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The days of the year associated with the recurrence rule, as an array of integers.

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.

EKRecurrenceRuleMBS.monthsOfTheYear as Integer()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The months of the year associated with the recurrence rule, as an array of integers.

Values can be from 1 to 12. This property value is valid only for recurrence rules initialized with specific months of the year and a frequency type of EKRecurrenceFrequencyYearly.

EKRecurrenceRuleMBS.setPositions as Integer()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
An array of ordinal numbers that filters which recurrences to include in the recurrence rule’s frequency.

For example, a yearly recurrence rule that has a daysOfTheWeek value that specifies Monday through Friday, and a setPositions array containing 2 and -1, occurs only on the second weekday and last weekday of every year.

Values can be from 1 to 366 and from -1 to -366.

Negative values indicate counting backwards from the end of the recurrence rule’s frequency (week, month, or year).

EKRecurrenceRuleMBS.weeksOfTheYear as Integer()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The weeks of the year associated with the recurrence rule, as an array of integers.

Values can be from 1 to 53 and from -1 to -53. This property value is valid only for recurrence rules initialized with specific weeks of the year and a frequency type of EKRecurrenceFrequencyYearly.
Negative values indicate counting backwards from the end of the year.

The items on this page are in the following plugins: MBS Mac64bit Plugin.


The biggest plugin in space...