Skip to content

PunctualityTolerance

  • Legs, dwell, cut-offs and punctuality, shared by road, rail, sea and air.

The caller’s punctuality tolerance, as ISO 8601 durations of exact time (a day is 24 hours; years, months and weeks are refused; neither may be negative).

import type { PunctualityTolerance } from "@northguild/gmt";
MemberTypeDescription
latestringHow far after the plan an arrival may be before it is late: a deviation of this much or more is late. "PT0S" makes every arrival at or after the plan late.
early?stringHow far before the plan an arrival may be before it is early: a deviation of this much or more ahead of the plan is early.
type PunctualityTolerance = {
/**
* How far after the plan an arrival may be before it is late: a deviation of this much or more
* is late. `"PT0S"` makes every arrival at or after the plan late.
*/
late: string;
/**
* How far before the plan an arrival may be before it is early: a deviation of this much or
* more ahead of the plan is early.
*
* @defaultValue None. An early arrival is on time.
*/
early?: string;
};

types/transport-timestamps.ts