UNPKG

@northguild/gmt

Version:

Date and time library for JavaScript and TypeScript, built on TC39 Temporal: time zones, DST, business days, ISO 8601 strings in and out. Never throws.

6 lines • 297 B
/** * A date field `cycleDate`, `cycleDateTime` and `cycleZoned` can step and wrap: `"year"`, * `"month"` or `"day"`. Narrower than `DateUnit` on purpose: `"week"` is a unit, not a field a * date can be set to with Temporal's `with()`. */ export type DateCycleField = "year" | "month" | "day";