# ZoneBucketUnit

Industry: Core

Units `floorToZone` and `bucketRange` floor an instant to, in a target time zone.

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

## Definition

```ts
type ZoneBucketUnit = "month" | "week" | "day" | "hour";
```

## Used by

- [`bucketRange`](/gmt/reference/calendar/calculate/bucketRange/)
- [`floorToZone`](/gmt/reference/calendar/calculate/floorToZone/)
- [`isValidZoneBucketUnit`](/gmt/reference/calendar/validate/isValidZoneBucketUnit/)

## Source

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