Google Apps Script API
    Preparing search index...

    Represents a recurrence rule for an event series.

    Note that this class also behaves like the EventRecurrence that it belongs to, allowing you to chain rule creation together like so:

    recurrence.addDailyRule().times(3).interval(2).addWeeklyExclusion().times(2);
    

    times(times) interval(interval)

    interface RecurrenceRule {
        addDailyExclusion(): RecurrenceRule;
        addDailyRule(): RecurrenceRule;
        addDate(date: GoogleAppsScript.Base.Date): EventRecurrence;
        addDateExclusion(date: GoogleAppsScript.Base.Date): EventRecurrence;
        addMonthlyExclusion(): RecurrenceRule;
        addMonthlyRule(): RecurrenceRule;
        addWeeklyExclusion(): RecurrenceRule;
        addWeeklyRule(): RecurrenceRule;
        addYearlyExclusion(): RecurrenceRule;
        addYearlyRule(): RecurrenceRule;
        interval(interval: number): RecurrenceRule;
        onlyInMonth(month: Month): RecurrenceRule;
        onlyInMonths(months: Month[]): RecurrenceRule;
        onlyOnMonthDay(day: number): RecurrenceRule;
        onlyOnMonthDays(days: number[]): RecurrenceRule;
        onlyOnWeek(week: number): RecurrenceRule;
        onlyOnWeekday(day: Weekday): RecurrenceRule;
        onlyOnWeekdays(days: Weekday[]): RecurrenceRule;
        onlyOnWeeks(weeks: number[]): RecurrenceRule;
        onlyOnYearDay(day: number): RecurrenceRule;
        onlyOnYearDays(days: number[]): RecurrenceRule;
        setTimeZone(timeZone: string): EventRecurrence;
        times(times: number): RecurrenceRule;
        until(endDate: GoogleAppsScript.Base.Date): RecurrenceRule;
        weekStartsOn(day: Weekday): RecurrenceRule;
    }
    Index

    Methods