Platforms to show: All Mac Windows Linux Cross-Platform
CalRecurrenceEndMBS class Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Calendar | MBS MacFrameworks Plugin | 7.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
CalRecurrenceEnd is an attribute of CalRecurrenceRule that defines how long the recurrence is scheduled to repeat.
The recurrence can be defined either with an integer that indicates the total number times it repeats, or with a date, after which it no longer repeats. An event which is set to never end should have its CalRecurrenceEnd set to nil.
If the end of the pattern is defines with a date, the client must pass a valid date, nil cannot be passed. If the end of the pattern is defined as terms of a number of occurrences, the occurrenceCount passed to the initializer must be positive, it cannot be 0. If the client attempts to initialize a CalRecurrenceEnd with a nil date or OccurrenceCount of 0, an exception is raised.
A CalRecurrenceEnd initialized with an end date will return 0 for occurrenceCount. One initialized with a number of occurrences will return nil for its endDate.
Requires Mac OS X 10.5 to work.
- 3 properties
- property endDate as date
- property occurrenceCount as Integer
- property usesEndDate as boolean
- 2 methods
- method Constructor(endDate as date)
- method Constructor(occurrenceCount as Integer)
This class has no sub classes.
Some methods using this class:
- CalRecurrenceRuleMBS.initDailyRecurrence(interval as Integer, RecurrenceEnd as CalRecurrenceEndMBS) as CalRecurrenceRuleMBS
- CalRecurrenceRuleMBS.initMonthlyRecurrence(interval as Integer, DayOfTheWeek as Integer, WeekOfTheMonth as Integer, RecurrenceEnd as CalRecurrenceEndMBS) as CalRecurrenceRuleMBS
- CalRecurrenceRuleMBS.initMonthlyRecurrence(interval as Integer, DaysOfTheMonth() as Integer, RecurrenceEnd as CalRecurrenceEndMBS) as CalRecurrenceRuleMBS
- CalRecurrenceRuleMBS.initMonthlyRecurrence(interval as Integer, RecurrenceEnd as CalRecurrenceEndMBS) as CalRecurrenceRuleMBS
- CalRecurrenceRuleMBS.initWeeklyRecurrence(interval as Integer, DaysOfTheWeek() as Integer, RecurrenceEnd as CalRecurrenceEndMBS) as CalRecurrenceRuleMBS
- CalRecurrenceRuleMBS.initWeeklyRecurrence(interval as Integer, RecurrenceEnd as CalRecurrenceEndMBS) as CalRecurrenceRuleMBS
- CalRecurrenceRuleMBS.initYearlyRecurrence(interval as Integer, DayOfTheWeek as Integer, WeekOfTheMonth as Integer, MonthsOfTheYear() as Integer, RecurrenceEnd as CalRecurrenceEndMBS) as CalRecurrenceRuleMBS
- CalRecurrenceRuleMBS.initYearlyRecurrence(interval as Integer, MonthsOfTheYear() as Integer, RecurrenceEnd as CalRecurrenceEndMBS) as CalRecurrenceRuleMBS
- CalRecurrenceRuleMBS.initYearlyRecurrence(interval as Integer, RecurrenceEnd as CalRecurrenceEndMBS) as CalRecurrenceRuleMBS
Some properties using for this class:
- CalRecurrenceRuleMBS.recurrenceEnd as CalRecurrenceEndMBS
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
CalNthWeekDayMBS - CalRecurrenceRuleMBS