Skip to content

DurationRelativeTo

  • The core functions, which every industry uses.

The anchor a calendar-unit duration operation is measured from, as Temporal’s relativeTo option takes it (Duration.prototype.round, Duration.prototype.total, Duration.compare).

import type { DurationRelativeTo } from "@northguild/gmt";
type DurationRelativeTo = string;

types/duration-relative-to.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.