ElapsedPeriod
An exact length of time, every sliding window of it ending at the instant evaluated.
import type { ElapsedPeriod } from "@northguild/gmt";Members
Section titled “Members”| Member | Type | Description |
|---|---|---|
elapsed | string | The window’s length, as an ISO 8601 duration of exact time: hours, minutes, seconds and days of 24 hours ("PT24H", "PT672H", "P7D"). Years, months and weeks are refused. Clock changes do not lengthen or shorten it. |
Definition
Section titled “Definition”type ElapsedPeriod = { /** * The window's length, as an ISO 8601 duration of exact time: hours, minutes, seconds and * days of 24 hours (`"PT24H"`, `"PT672H"`, `"P7D"`). Years, months and weeks are refused. * Clock changes do not lengthen or shorten it. */ elapsed: string;};