Skip to content

Period

The span a rule looks back over: an exact elapsed duration, or a count of local periods in the reference zone. Give exactly one key.

import type { Period } from "@northguild/gmt";
type Period =
| ElapsedPeriod
| OperatorDaysPeriod
| CalendarDaysPeriod
| IsoWeeksPeriod
| CalendarMonthsPeriod
| CalendarYearsPeriod;

types/duty.ts