Skip to content

Period

  • People's working time: duty logs, hours-of-work limits, rest and rolling windows, for any crew, shift or rota.

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

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.