Function: applyUntilCap()
function applyUntilCap(recurrenceRule: string, untilInstant: Instant): string;Defined in: shared/bookings/series-template.ts:156
Cap an RRULE body with UNTIL=<instant> (replacing any existing UNTIL).
The caller must guarantee the rule carries no COUNT — RFC 5545 forbids
COUNT+UNTIL together (spec §6.8).
Parameters
| Parameter | Type |
|---|---|
recurrenceRule | string |
untilInstant | Instant |
Returns
string