# TimeUnit

Industry: Core

A time unit in the singular, from `"hour"` down to `"nanosecond"`, as Temporal's rounding and difference options name units.

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

## Definition

```ts
type TimeUnit = Temporal.TimeUnit;
```

## Used by

- [`isValidTimeUnit`](/gmt/reference/plain/validate/isValidTimeUnit/)
- [`totalUnits`](/gmt/reference/duration/calculate/totalUnits/)

## Source

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