Library API
    Preparing search index...

    Function getNextRRuleEpoch

    • Computes the single next RRULE occurrence epoch millisecond timestamp after fromEpochMs. Note: RRULE evaluation is performed in UTC.

      Parameters

      • rruleStr: string

        The RFC 5545 recurrence rule string

      • fromEpochMs: number

        The baseline timestamp in epoch milliseconds

      Returns number | null

      Epoch millisecond timestamp of the next occurrence, or null if no further occurrences exist