# CalendarYearsPeriod

Industry: Workforce

A count of local calendar years in the reference zone, the last the current one.

```ts
import type { CalendarYearsPeriod } from "@northguild/gmt";
```

## Members

| Member | Type | Description |
| --- | --- | --- |
| `calendarYears` | `number` | How many calendar years, an integer from 1 to 10,000. Each starts at local midnight on 1 January. |

## Definition

```ts
type CalendarYearsPeriod = {
  /**
   * How many calendar years, an integer from 1 to 10,000. Each starts at local midnight on
   * 1 January.
   */
  calendarYears: number;
};
```

## Used by

- [`dutyViolations`](/gmt/reference/workforce/calculate/dutyViolations/)
- [`evaluateDutyLog`](/gmt/reference/workforce/calculate/evaluateDutyLog/)

## Source

[types/duty.ts](https://github.com/northguild/gmt/blob/main/packages/gmt/src/types/duty.ts)
