Tools
Each tool runs the real library on values you set. A tool is listed under the industry layer its functions come from; a tool under Core uses core functions only, so it suits any industry.
The core functions, which every industry uses.
- Converter Bench: Convert an instant between two timezones, format it across every locale the library is tested against, and test any string against every regex the library exports.
- DST Inspector: Find any timezone’s daylight-saving transitions for a given year, then scrub a local wall-clock time across one and watch how each disambiguation option resolves it.
- Interval Visualizer: Drag two time intervals on a shared timeline and watch their intersection, union, difference and XOR update live.
- Zone Planner: Pin the zones you care about and drag a single slider to see every clock move together, with each zone’s daylight-saving state and clock changes shown.
- Zoned Earth: An interactive wireframe globe showing every IANA timezone’s live local time, UTC offset, and DST state.
Intermodal
Section titled “Intermodal”Container free time, demurrage, billing deadlines, bill of lading dates and EDI timestamps. Read the guide.
- Billing Deadlines: billingTimeline lays out the deadlines around a demurrage or detention invoice on a strip of days. You set the date the count starts from, the invoice and dispute dates, and the windows your tariff or contract names.
- DTM Decoder: Paste a UN/EDIFACT DTM segment, or a value and its 2379 format code. The code is classified, the parser of its kind reads the value, and the tool says whether the offset is stated and reads an offsetless value in the zones you choose.
- Free Time Ledger: Drag a container’s clock start and gate-out across a terminal’s real local-day grid, set the tariff’s terms, and watch freeTimeExpiry and chargeableDays lay out the free days, the expiry and the dates charged.
- X12 Time Reader: Type an X12 date, time and time code. The tool reads them with parseX12DateAndTime, classifies the code, and says whether the offset is stated; the instant appears once an offset or a zone you pick fixes it. A second section reads a DTP value.
Transport
Section titled “Transport”Legs, dwell, cut-offs and punctuality, shared by road, rail, sea and air. Read the guide.
- Connection Checker: Will the cargo make its onward departure? scheduleDelivery checks a scheduled connection against the arrival plus the handling time. A departure exactly at that time is made. Beside it is the wall-clock check, which can say made when the connection is missed.
- Crossing Clock: Time a canal, strait or border crossing with crossingTime. It gives the exact elapsed hours and shows the entry and exit on the clock of whoever runs the crossing, beside the wall-clock subtraction that is an hour off on a DST night.
- Cut-off Countdown: Am I late, and by how much? isPastCutoff and timeToCutoff compare a cut-off with your clock or a time you drag. They give the time left, or a negative duration once the cut-off has passed. At the cut-off itself, it has already passed.
- Cut-off Ruler: Is two days before the same as 48 hours before? cutoffAt reads one departure’s “two days before” three ways, as calendar days, as exact hours and as a pinned local time. All three sit on one axis, with the clock change between them marked.
- Cut-off Stack: When does each deadline before a sailing close? cutoffSchedule computes every cut-off against one departure and lists them earliest first. A cut-off that lands on a weekend or holiday moves to an open day the way you say; there is no default.
- Delivery Scheduler: Chain truck, ship and rail legs into one ETA with scheduleDelivery: every handoff an exact instant, each arrival shown where it lands, and a missed connection shown as the null it is.
- Departure Board: Which departure can you make? nextDeparture reads a list of departures, or a service that runs every N minutes, and finds the first one at or after your arrival plus the minimum connection. The end of the service window is not a departure. You can send the answer on to the Delivery Scheduler.
- Dwell Ledger: Drag a gate-in and a gate-out across a zone’s real local-day grid and watch dwellTime count the elapsed hours and the local calendar days the dwell touched.
- ETA Drift Chart: Which timestamp do you show, and how far did the estimate move? bestAvailable picks from planned, estimated, requested and actual records and says which class it is; estimateDrift measures the slide against a tolerance you drag.
- Punctuality Board: Was it late, by how much, and what share was on time? scheduleDeviation, classifyPunctuality and punctualityRate judge a set of arrivals against a tolerance you drag. An arrival exactly on the limit counts as late, an early limit is optional, and there is no default tolerance.
- Timetable Reader: Read a timetable’s printed local times as exact instants with scheduleDelivery’s startTimeZone. A repeated time is read as the earlier of its two instants and a skipped time as the later one. An offset written beside a repeated time says which of the two is meant.