EdiDateTimePeriod
A period between two local date-times, as a UN/EDIFACT period (719) or an X12 range (RDT, DTS) states it: the result of parseEdifactDateTimePeriod and parseX12DateTimeRange.
import type { EdiDateTimePeriod } from "@northguild/gmt";Members
Section titled “Members”| Member | Type | Description |
|---|---|---|
start | string | The local date-time the period starts at, YYYY-MM-DDTHH:MM:SS. Seconds are always written. |
end | string | The local date-time the period ends at, YYYY-MM-DDTHH:MM:SS. Seconds are always written. It is never before start, and may equal it. |
Definition
Section titled “Definition”interface EdiDateTimePeriod { /** The local date-time the period starts at, `YYYY-MM-DDTHH:MM:SS`. Seconds are always written. */ start: string; /** * The local date-time the period ends at, `YYYY-MM-DDTHH:MM:SS`. Seconds are always written. It * is never before `start`, and may equal it. */ end: string;}