Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Events.RecurrenceRule.WeeksOfTheYear

Queries weeks of the year.

Component Version macOS Windows Linux Server iOS SDK
Events 6.2 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "Events.RecurrenceRule.WeeksOfTheYear"; EKRecurrenceRule )   More

Parameters

Parameter Description Example
EKRecurrenceRule The reference to the recurrence rule. $RecurrenceRule

Result

Returns list or error.

Description

Queries weeks of the year.
This property is valid for rules whose frequency is yearly. This property can be accessed as an list containing one or more numbers corresponding to the weeks of the year the event recurs. For all other rules, this property is empty. This property corresponds to BYWEEK in the iCalendar specification. It should contain integers from 1 to 53 or -1 to -53.

See also

This function checks for a license.

Created 10th March 2016, last changed 13th March 2016


Events.RecurrenceRule.SetRecurrenceEnd - Events.RefreshSourcesIfNecessary