A compiled constraint resolution engine produced by CalendarIntervalParser.compileConstraint.
A compiled schedule with methods for enumerating occurrences.
Returned by CalendarIntervalParser.compile. All enumeration methods return 0
(the NEVER sentinel) when no valid occurrence exists within the search range.
Check whether the given date satisfies the schedule constraints.
The date to check
true if the date is a valid occurrence
Find the next occurrence(s) on or after startDate.
A single Date when count is 1, an array when count > 1, or 0 if none found
Find the next date range(s) where the schedule is valid, moving forward.
Array of [rangeStart, rangeEnd] tuples, or 0 if none found
Find the previous occurrence(s) on or before startDate.
A single Date when count is 1, an array when count > 1, or 0 if none found
Find the previous date range(s) where the schedule is valid, moving backward.
Array of [rangeStart, rangeEnd] tuples, or 0 if none found
Modifier function that wraps a TimePeriod to restrict it to a subset of its extent.
Map of modifier functions keyed by name (after, before) and alias (a, b).
A single schedule constraint. Maps time-period keys to arrays of valid values.
Recognized keys:
t — time (seconds since midnight)s — second (0–59)m — minute (0–59)h — hour (0–23)D — day of month (1–31)d / dw — day of week (1=Sun … 7=Sat)dc — day-of-week count (1st Monday, etc.)dy — day of year (1–366)wm — week of monthwy — week of year (ISO)M — month (1–12)Y — year (1970–2099)fd — full date (epoch ms)fd_a — after full date (modifier)fd_b — before full date (modifier)Alias kept for semantic clarity in schedule-engine signatures.
A parsed schedule definition containing inclusion and exclusion constraints.
A time-period object used by the schedule compiler. Each period (year, month, day, etc.) provides methods for value extraction, validation, extent computation, and navigation.
Map of TimePeriod objects keyed by name and alias (e.g., year/Y, month/M).
Sentinel value meaning "no valid occurrence".
Generated using TypeDoc
Array-lookup function signature used by the schedule compiler dispatch map.