HolidayOptions
Defined in: holidays.ts:40
Options for getPakistanHolidays.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
includeChristianHolidays? |
boolean |
Include 26 December, a holiday for Christian employees only. Defaults to false. |
announced? |
Partial<Record<IslamicHolidayId, string[]>> |
Observed or announced dates (YYYY-MM-DD) for Islamic holidays, used instead of the dataset or estimate. Use this to apply a new moon-sighting announcement before the library is updated. An empty list removes that holiday for the year. |
hijriOffset? |
number |
Day offset applied to estimated Islamic dates. Defaults to 0. |