PairSpec
A paired rest: two separate rest periods that together count as one, when all three floors hold. { eachAtLeast: "PT2H", oneAtLeast: "PT7H", combinedAtLeast: "PT10H" } accepts 7.5 + 2.5 hours and 8 + 2, and refuses 6 + 4.
import type { PairSpec } from "@northguild/gmt";Members
Section titled “Members”| Member | Type | Description |
|---|---|---|
eachAtLeast | string | The floor on each of the two periods, a positive ISO 8601 duration of exact time. |
oneAtLeast | string | The floor on the longer period, a positive ISO 8601 duration of exact time. |
combinedAtLeast | string | The floor on the two periods added together, a positive ISO 8601 duration of exact time. |
Definition
Section titled “Definition”type PairSpec = { /** The floor on each of the two periods, a positive ISO 8601 duration of exact time. */ eachAtLeast: string; /** The floor on the longer period, a positive ISO 8601 duration of exact time. */ oneAtLeast: string; /** The floor on the two periods added together, a positive ISO 8601 duration of exact time. */ combinedAtLeast: string;};