← Scheduler API

Interface · v2.8.0

NgbSchedulerRecurrenceRule

Typed JSON subset, not an RFC5545 RRULE string. Missing count/until means unbounded series.

Import

import type { NgbSchedulerRecurrenceRule } from '@angular-bootstrap/ngbootstrap';

Declaration

Properties

frequency

frequency: 'daily' | 'weekly' | 'monthly' | 'yearly'

interval

interval: number

weekdays

Weekly weekdays: Sunday=0. Defaults to the anchor weekday.

weekdays?: readonly number[]

ordinal

Monthly/yearly ordinal weekday. Omit to use the anchor's month day.

ordinal?: { weekday: number; position: 1 | 2 | 3 | 4 | 5 | -1; }

count

count?: number

until

Inclusive local date; mutually exclusive with count.

until?: string
Source: src/scheduler/scheduler-recurrence.ts in the installed @angular-bootstrap/ngbootstrap package. Angular compiler metadata and private members are omitted.