@ebarooni/capacitor-calendar
    Preparing search index...

    Interface EventRecurrenceRule

    interface EventRecurrenceRule {
        byMonth?: number[];
        byMonthDay?: number[];
        byWeekDay?: number[];
        count?: number;
        daysOfTheYear?: number[];
        end?: number;
        frequency: RecurrenceFrequency;
        interval?: number;
        weeksOfTheYear?: number[];
    }
    Index

    Properties

    byMonth?: number[]

    Limits a yearly recurrence to specific months of the year. The values should be between 1 and 12.

    [1, 7]  // Means in January and July.
    

    Android, iOS, Web

    7.1.0

    byMonthDay?: number[]

    Limits a monthly recurrence to specific days of the month. The values should be between 1 and 31.

    [1, 15] // The 1st and 15th of each month.
    

    Android, iOS, Web

    7.1.0

    byWeekDay?: number[]

    Limits a weekly recurrence to specific weekdays. The values should be between 1 and 7. 1 means Monday and 7 means Sunday.

    [1, 3, 5] // Every Monday, Wednesday and Friday
    

    Android, iOS, Web

    7.3.0

    count?: number

    The total number of occurrences. If set, the recurrence ends after this many occurrences. If count is provided, end is ignored.

    10
    

    Android, iOS, Web

    7.3.0

    daysOfTheYear?: number[]

    Limits a yearly recurrence to specific days of the year (1 to 366).

    [1, 100, 364]
    

    iOS, Web

    7.3.0

    end?: number

    End date of the recurrence series as a Unix timestamp in milliseconds.

    const date = new Date();
    date.setMonth(date.getMonth() + 1);
    const end = date.getTime();

    Android, iOS, Web

    7.1.0

    How often the event repeats.

    'weekly'
    

    Android, iOS, Web

    7.3.0

    interval?: number

    The interval between recurrences. Use in combination with frequency. For example, a weekly event with an interval of 2, results in the event occurring every 2 weeks.

    2
    
    1
    

    Android, iOS, Web

    7.3.0

    weeksOfTheYear?: number[]

    Limits a yearly recurrence to specific ISO week numbers (1 to 53).

    [1, 53]
    

    iOS, Web

    7.3.0