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
readonlymax:number
min
readonlymin:number
Methods
holidaysInMonth()
holidaysInMonth(
year,month):HolidayOccurrence[]
Defined in: types.ts:47
Parameters
year
number
month
number
Returns
holidaysOn()
holidaysOn(
date):HolidayOccurrence[]
Defined in: types.ts:46
Parameters
date
Returns
name()
name(
id,locale):string
Defined in: types.ts:49
Parameters
id
IranHolidayId
locale
Returns
string
names()
names(
id):HolidayNames
Defined in: types.ts:48
Parameters
id
IranHolidayId