pakdatakit/holidays
Interfaces
Section titled “Interfaces”| Interface | Description |
|---|---|
| Holiday | A public holiday on a specific date. |
| HolidayOptions | Options for getPakistanHolidays. |
Type Aliases
Section titled “Type Aliases”| Type Alias | Description |
|---|---|
| IslamicHolidayId | Islamic public holidays, whose dates depend on moon sighting. |
| HolidayId | Identifier of a Pakistani federal public holiday. |
Functions
Section titled “Functions”| Function | Description |
|---|---|
| getPakistanHolidays | Lists Pakistan’s federal public holidays for a year, sorted by date. |
| getHolidaysOn | Returns the public holidays that fall on a date. |
| isPakistanHoliday | Returns whether a date is a Pakistani federal public holiday. |