Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

CalRecurrenceEndMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Calendar MBS MacFrameworks Plugin 7.7 Yes No No Yes, macOS only No
Function: The class to specify the end of a recurring calendar event.
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.

Feedback, Comments & Corrections

This class has no sub classes.

Some methods using this class:

Some properties using for this class:

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

CalNthWeekDayMBS   -   CalRecurrenceRuleMBS

The biggest plugin in space...

MBS Xojo blog