Skip to content

Documentation / @jalali-js/holidays / RegionHolidayPack

Interface: RegionHolidayPack ​

Defined in: types.ts:44

One region pack. Iran ships today.

Properties ​

label ​

label: HolidayNames

Defined in: types.ts:46


region ​

region: HolidayRegion

Defined in: types.ts:45


yearRange ​

yearRange: object

Defined in: types.ts:47

max ​

readonly max: number

min ​

readonly min: number

Methods ​

holidaysInMonth() ​

holidaysInMonth(year, month): HolidayOccurrence[]

Defined in: types.ts:49

Parameters ​

year ​

number

month ​

number

Returns ​

HolidayOccurrence[]


holidaysOn() ​

holidaysOn(date): HolidayOccurrence[]

Defined in: types.ts:48

Parameters ​

date ​

HolidayDateFields

Returns ​

HolidayOccurrence[]


name() ​

name(id, locale): string

Defined in: types.ts:51

Parameters ​

id ​

IranHolidayId

locale ​

HolidayLocale

Returns ​

string


names() ​

names(id): HolidayNames

Defined in: types.ts:50

Parameters ​

id ​

IranHolidayId

Returns ​

HolidayNames