RecurringTimeSpansMixin

Configs

1

When a recurring event base is rescheduled, the new start date may not conform with the recurrence pattern if for example certain weekdays are selected, such as to repeat every Monday.

By default, changing the startDate to a date that is not visited by the recurrence pattern does not recalculate that pattern. It merely changes the date at which that pattern begins.

So if an event is explicitly configured to repeat every Monday (The recurrenceRule contains BYDAY=MO) and the base event is changed by any means to have its startDate on the following Tuesday, visually, the effect would be that the base event "disappears" and the following occurrences do not move.

The recurrence pattern still repeats every Monday. It's just that that pattern is calculated starting from a different date.

To have a rescheduling change to a recurring event base recalculate the recurrence pattern to conform to the new start date - to include that date in the pattern - configure autoAdjustRecurrence as true

Properties

3

Class hierarchy

isRecurringTimeSpansMixin: Boolean= truereadonly
Identifies an object as an instance of RecurringTimeSpansMixin class, or subclass thereof.
isRecurringTimeSpansMixin: Boolean= truereadonlystatic
Identifies an object as an instance of RecurringTimeSpansMixin class, or subclass thereof.

Other

When a recurring event base is rescheduled, the new start date may not conform with the recurrence pattern if for example certain weekdays are selected, such as to repeat every Monday.

By default, changing the startDate to a date that is not visited by the recurrence pattern does not recalculate that pattern. It merely changes the date at which that pattern begins.

So if an event is explicitly configured to repeat every Monday (The recurrenceRule contains BYDAY=MO) and the base event is changed by any means to have its startDate on the following Tuesday, visually, the effect would be that the base event "disappears" and the following occurrences do not move.

The recurrence pattern still repeats every Monday. It's just that that pattern is calculated starting from a different date.

To have a rescheduling change to a recurring event base recalculate the recurrence pattern to conform to the new start date - to include that date in the pattern - configure autoAdjustRecurrence as true

Functions

1

Returns all the recurring timespans.

Returns: TimeSpan[] -

Array of recurring events.