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

***

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

# Function: getSpecialHolidays()

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

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

Filter Sonderfeiertage for a specific year

## Parameters

### year

`number`

The year to get Sonderfeiertage for

## Returns

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

Array of holidays that apply to the given year