Free Time Ledger
The tariff decides whether the day of discharge is free day one, whether weekends count, how many days are free, and how the days after free time are charged. Free days and charged days are each counted in calendar days or in working days. Many tariffs count both in calendar days. Where a tariff grants free time in working days, the days after it are mostly charged as calendar days. Some tariffs charge working days only.
The track is one zone’s local days, each column as wide as that day really is.
Free days are lit. Charged days are hatched and carry a “charged” chip, and a
higher tier has a denser hatch and a numbered chip. On a working-day tariff the
closed days carry a “closed” chip and are not counted. The event day the tariff
does not count is plain and says “event day”. Three plates above the track give
the free days used, the chargeable days and the time free time expires. The bar
is the dwell, half-open at the gate-out: leaving exactly at the expiry line
charges nothing. The outputs are the real freeTimeExpiry and
chargeableDays calls for
what is on screen, including the charged dates.
Worth trying: the same Friday discharge read as
nextDay.
The bar does not move, but the free window slides a day and the Monday gate-out
is no longer charged. Then gate out exactly at the
expiry
and step the end handle one notch right: the dwell is half-open, so that
instant is free and the next is not.
To find which two events bound the clock before you count its days, use the Demurrage Clock. Its link sends the clock it chose here, with the terminal clock.
Reference: freeTimeExpiry
lays out the free window; chargeableDays
counts and lists the charged days; both count from the same local-day boundary
as dwellTime. The rules are in
Intermodal: Free Time and Demurrage.
© 2026 NorthGuild · Licences
Code examples: MIT-0. Packages: MIT. Third-party data and components: their own licences, credited where they appear. Everything else: © 2026 NorthGuild, all rights reserved.