Cut-off Stack
The stack counts back from one event — a sailing, a flight, a loading.
cutoffSchedule computes each named cut-off with cutoffAt against that one
anchor and returns the stack sorted earliest first.
A roll moves a cut-off that lands on a closed day to an open day, earlier or
later, as you choose. Nothing moves without one. A weekend or holiday calendar
with no roll, or a roll with no calendar, has no default, and cutoffSchedule
returns [] rather than guess which way to move it.
Worth trying: a calendar with no roll: there is no
default —
the calendar closes the weekend, but no roll says which way to move a cut-off,
so the stack is []. Then a Thursday
holiday —
the documents cut-off moves back a day to Wednesday, while the gate-in cut-off,
six exact hours before departure, lands on an open day and does not move.
Reference: cutoffSchedule
computes the whole stack; each entry is cutoffAt,
and a roll moves a closed day the way rollDate
moves it. See the Cut-off Ruler for one cut-off read
three ways, and the guide’s
whole-stack section
and
closures section.