# Connection Checker

Industry: Transport

**Key point — one handoff at a port**

A connection is made when the onward departure is at or after the arrival plus the handling time. Exactly on it is made, with zero slack. Before it is missed, and `scheduleDelivery` returns `null`.

One handoff: an inbound leg, a handling time at the port — the minimum
connect time — and a scheduled onward departure. Slide the handling time and
watch made turn to missed.

Beside the real verdict is the naive check of the times as printed: a
wall-clock addition with no zone and no DST. It agrees when nothing moves the
port's offset between the two ends, and disagrees when a DST transition or a
zone change does.

**Worth trying:** [handling 51, missed by a
minute](/gmt/tools/connection-checker/?w=connection&wa=%7B%22inboundDeparture%22%3A%222024-06-14T22%3A10%3A00%2B02%3A00%5BEurope%2FBerlin%5D%22%2C%22inboundDuration%22%3A%22PT15H%22%2C%22portZone%22%3A%22Europe%2FAmsterdam%22%2C%22handlingMinutes%22%3A%2251%22%2C%22onwardDeparture%22%3A%222024-06-15T14%3A00%3A00%5BEurope%2FAmsterdam%5D%22%2C%22onwardDuration%22%3A%22PT12H%22%2C%22onwardZone%22%3A%22Europe%2FRome%22%7D) —
one minute inside the handling time is still a missed connection. Then [the
same barge the night the clocks spring
forward](/gmt/tools/connection-checker/?w=connection&wa=%7B%22inboundDeparture%22%3A%222024-03-30T22%3A10%3A00%2B01%3A00%5BEurope%2FBerlin%5D%22%2C%22inboundDuration%22%3A%22PT15H%22%2C%22portZone%22%3A%22Europe%2FAmsterdam%22%2C%22handlingMinutes%22%3A%2245%22%2C%22onwardDeparture%22%3A%222024-03-31T14%3A00%3A00%5BEurope%2FAmsterdam%5D%22%2C%22onwardDuration%22%3A%22PT12H%22%2C%22onwardZone%22%3A%22Europe%2FRome%22%7D) —
the printed-clock check still says made; `scheduleDelivery` says missed.

Reference: [`scheduleDelivery`](/gmt/reference/transport/calculate/scheduleDelivery/)
is the real call behind every verdict here. For the full journey this handoff
sits inside, see the [Delivery Scheduler](/gmt/tools/delivery-scheduler/). See the
guide's
[section on scheduled connections and the minimum connect time](/gmt/guides/industries/transport-multi-leg-scheduling/#a-scheduled-departure-is-a-connection-and-dwell-is-the-minimum-connect-time).
