Duration of the interval. Value represents the number of milliseconds.
This can be either used with start or end timestamp but not both.
End timestamp of the interval. Value represents the number of milliseconds since the epoc in UTC. (see Date.getTime(), Date.now())
This can be either used with start timestamp or a duration but not both.
Start timestamp of the interval. Value represents the number of milliseconds since the epoc in UTC. (see Date.getTime(), Date.now())
This can be either used with end timestamp or a duration but not both.
Generated using TypeDoc
Defines a time interval using the number of milliseconds since the epoc in UTC instead of ISO 8601 standard time intervals. This is used for consistency within the system.
An interval can have four formats:
The ISO 8601 standard string can be created using the function
toLocalTimeIntervalIsoString
in the@coaty/core
module.