[**@epilot/switching-deadlines**](../../README.md)

***

[@epilot/switching-deadlines](../../modules.md) / [index](../README.md) / getMovingHolidays

# Function: getMovingHolidays()

> **getMovingHolidays**(`year`): [`Holiday`](../interfaces/Holiday.md)[]

Defined in: [holidays/moving.ts:30](https://github.com/epilot-dev/switching-deadlines/blob/399b2cc39d63ef20d5c31e06d92ee448511e691c/src/holidays/moving.ts#L30)

Get all moving holidays (e.g. those based on Easter) for a given year

## Parameters

### year

`number`

The year to calculate the moving holidays for

## Returns

[`Holiday`](../interfaces/Holiday.md)[]

array of holidays