Function: successorRule()
function successorRule(recurrenceRule: string, remainingCount: number | null): string;Defined in: shared/bookings/series-template.ts:248
Build the successor's rule for a this-and-following split (spec §6.8): the
old rule with its bound rewritten — COUNT becomes the REMAINING purchased
occurrences; an UNTIL (or unbounded) rule carries over unchanged (its
absolute end cap still applies to the successor).
Parameters
| Parameter | Type |
|---|---|
recurrenceRule | string |
remainingCount | number | null |
Returns
string