Interface WeeklyRecurrenceSettings

Additional settings for events with weekly recurrence.

interface WeeklyRecurrenceSettings {
    days: [boolean, boolean, boolean, boolean, boolean, boolean, boolean];
    firstDayOfWeek: number;
}

Properties

Properties

days: [boolean, boolean, boolean, boolean, boolean, boolean, boolean]

Array of 7 booleans specifying which days of the week the event recurs on.

Index 0 = Sunday, 1 = Monday, etc. For example, the following indicates an event that recurs on Monday, Wednesday and Friday:

[false, true, false, true, false, true, false]

firstDayOfWeek: number

Day of the week that weeks start on - 0 for Sunday, 1 for Monday.

This affects events that repeat every 2nd Sunday (or higher interval).