Skip to content

Documentation / @jalali-js/holidays / RegionHolidayPack

Interface: RegionHolidayPack

Defined in: types.ts:42

One region pack. Iran ships today.

Properties

label

label: HolidayNames

Defined in: types.ts:44


region

region: HolidayRegion

Defined in: types.ts:43


yearRange

yearRange: object

Defined in: types.ts:45

max

readonly max: number

min

readonly min: number

Methods

holidaysInMonth()

holidaysInMonth(year, month): HolidayOccurrence[]

Defined in: types.ts:47

Parameters

year

number

month

number

Returns

HolidayOccurrence[]


holidaysOn()

holidaysOn(date): HolidayOccurrence[]

Defined in: types.ts:46

Parameters

date

HolidayDateFields

Returns

HolidayOccurrence[]


name()

name(id, locale): string

Defined in: types.ts:49

Parameters

id

IranHolidayId

locale

HolidayLocale

Returns

string


names()

names(id): HolidayNames

Defined in: types.ts:48

Parameters

id

IranHolidayId

Returns

HolidayNames