Library API
    Preparing search index...

    Function expandRRuleEpochs

    • Expands occurrences of an RFC 5545 RRULE string into epoch millisecond numbers. Pure function operating strictly on primitive timestamps and UTC Date calculations.

      Parameters

      • rruleStr: string

        The RFC 5545 recurrence rule string to expand

      • anchorEpochMs: number

        Anchor timestamp in epoch milliseconds to evaluate occurrences from

      • Optionaloptions: { afterMs?: number; beforeMs?: number; count?: number }

        Optional bounds and count controls for the evaluation

      Returns number[]

      Array of occurrence timestamps in epoch milliseconds