is_holiday
Check whether a given date is a public or bank holiday for business-day calculations. Supports UK subdivisions and US states, with defaults for England.
Instructions
Check whether a date (YYYY-MM-DD) is a public/bank holiday. USE THIS when computing business-day deadlines, delivery SLAs, or 'next working day'. GB defaults to England; pass subdiv 'SCT'/'WLS'/'NIR' or a US state code. Country is GB or US.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| country | No | GB | |
| subdiv | No |