Marmot-TS
    Preparing search index...

    Function isLifetimeWithinCap

    • Checks whether a lifetime's range is within the ≤7,261,200 s (84 days + 1h) cap (D-08). This is a strict check — no grace is applied to the range itself (only to the current-check, see isLifetimeCurrentWithGrace).

      Parameters

      • lifetime: Lifetime

        The lifetime object with notBefore and notAfter fields

      Returns boolean

      True if notAfter - notBefore is within the cap, false otherwise