Skip to content

DateCycleField

  • The core functions, which every industry uses.

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().

import type { DateCycleField } from "@northguild/gmt";
type DateCycleField = "year" | "month" | "day";

types/date-cycle-field.ts

Accessibility
© 2026 NorthGuild · Licences

Code examples: MIT-0. Packages: MIT. Third-party data and components: their own licences, credited where they appear. Everything else: © 2026 NorthGuild, all rights reserved.