Options
All
  • Public
  • Public/Protected
  • All
Menu

Fluent recurrence builder backing CalendarIntervalParser.recur. Chain constraint methods (.on(), .every(), .after(), .before()) followed by a time-period method (.second(), .minute(), .hour(), .dayOfMonth(), .dayOfWeek(), .month(), .year(), etc.) to build up a definition. The resulting builder exposes .schedules and .exceptions arrays consumable directly as a ScheduleDefinition by CalendarIntervalParser.compile.

module

Engine/util/calendar_interval_parser/ScheduleBuilder

Hierarchy

  • ScheduleBuilder

Index

Methods

Methods

Private add

  • add(name: string, min?: number, max?: number): void
  • Flush accumulated state (values, increment, modifier, applyMin/Max) into the current schedule entry under name.

    Parameters

    • name: string

      Field key ("s", "m", "h", "d", …)

    • Optional min: number
    • Optional max: number

    Returns void

Generated using TypeDoc