# WeekRule (@salmonui/calendars/calendar)

> The WeekRule type of @salmonui/calendars/calendar: Which week of January is week 1.

Canonical: https://salmonui.dev/docs/reference/calendars/calendar/WeekRule

```ts
import type { WeekRule } from '@salmonui/calendars/calendar';
```

Also exported from `@salmonui/calendars/date-picker`, `@salmonui/calendars/date-range-picker`, `@salmonui/calendars/time-picker`.

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

## Reference

Kind: type

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

Which week of January is week 1.
