Options
All
  • Public
  • Public/Protected
  • All
Menu

Compiled schedule produced by CalendarIntervalParser.createCompiledSchedule. Implements the public CompiledSchedule contract — next / prev / nextRange / prevRange / isValid all funnel through getInstances.

internal

Hierarchy

  • CompiledScheduleImpl

Implements

  • { isValid: any; next: any; nextRange: any; prev: any; prevRange: any }

Index

Methods

Methods

Private getInstances

  • getInstances(dir: string, count: number, startDate?: Date, endDate?: Date, isRange?: boolean): any
  • Core iteration engine shared by next / prev / nextRange / prevRange / isValid. When isRange is set, emits [start, end] tuples (merging adjacent ranges) instead of single dates. Bounded by a 1e6 maxAttempts safety counter.

    Parameters

    • dir: string
    • count: number
    • Optional startDate: Date
    • Optional endDate: Date
    • Optional isRange: boolean

    Returns any

Generated using TypeDoc