Recurrence Rules

Define a bounded, typed recurrence pattern with explicit timezone policies.

Supported patterns

Daily repeats by day interval. Weekly uses weekday numbers (Sunday 0) and Monday-based interval weeks. Monthly and yearly use the anchor day or a first–fifth/last weekday. Missing dates, such as February 30, are skipped. Yearly patterns stay in the anchor month.

Choose count, inclusive local until, or no end. Count includes matching civil candidates, including DST-gap skips and cancelled occurrences. A skipped month day is not a candidate. Rules serialize as typed JSON; RRULE strings and general iCalendar import/export are not supported.

America/Chicago

2026-10-30 – 2026-11-05

Fri, Oct 30

Sat, Oct 31

Sun, Nov 1

Mon, Nov 2

Tue, Nov 3

Wed, Nov 4

Thu, Nov 5

No changes saved · Requests: 0 · Exceptions: 0

      const series: NgbSchedulerSeries = {
  id: 'settlement', start: '2026-10-30T09:00:00.000', end: '2026-10-30T10:00:00.000',
  timeZone: 'America/Chicago', event: { title: 'Settlement review' },
  rule: { frequency: 'daily', interval: 1, count: 12 }, gap: 'skip', fold: 'later'
};
const events = ngbSchedulerExpandSeries([series], range);
// Persist one occurrence change as an exception, then expand again.
const updated = ngbSchedulerSetException(series, event.recurrence!.originalStart, editedEvent);
// Omit editedEvent to cancel that occurrence.
// Configure [series], [seriesMutationHandler] and (seriesMutationComplete)
// for explicit Entire series editing. Persist atomically on your server.
    

DST, exceptions and limits

This example keeps 09:00–10:00 local wall-clock intent in America/Chicago: UTC times change across DST. Each series explicitly chooses gap skip/reject and fold earlier/later/reject. All-day series retain exclusive calendar dates.

Series changes preserve exceptions by default. If an exception no longer matches the rule, saving fails; reconcile it or explicitly reset exceptions. Entire-series deletion requires confirmation. Configure seriesMutationHandler and handle seriesMutationComplete to persist whole-series changes. The default dialog starts with This occurrence. Entire series uses a separate handler and completion output; it never emits an occurrence write. Changing scope resets the unsaved draft, including custom form values. This and following uses a separate opt-in split transaction, demonstrated on the Basics page. New-series creation and one-off conversion use a separate opt-in transaction handler; see the Basics page example.

Local expansion accepts at most 50 series, 366 days per query, 512 returned events and 100,000 scanned days. It throws on limits instead of returning partial data. Use server expansion for large histories. Applications own authorization, atomic series/exception persistence, retries and conflict checks.

Native controls support Tab, Enter and Space. Cancel/Escape in the appointment editor discards an idle draft. Series authoring is a separate workflow; Save series is explicit.