# WeekRule (@salmonui/core/dates)

> The WeekRule type of @salmonui/core/dates: Which week of January is week 1.

Canonical: https://salmonui.dev/docs/reference/core/dates/WeekRule

```ts
import type { WeekRule } from '@salmonui/core/dates';
```

Entry index: https://salmonui.dev/docs/reference/core/dates (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/core/dates.md).

## Reference

Kind: type

```ts
type WeekRule = 'firstDay' | 'firstFullWeek' | 'firstFourDayWeek';
```

Which week of January is week 1.
