is_business_day
Determines whether a date is a business day in the selected country (default Poland) by checking weekday and public holidays. Returns the reason: weekend, holiday, or business day.
Instructions
Check whether a date is a Polish business day — Monday–Friday and not a public holiday. Returns the answer plus the reason (weekend / holiday / business_day). The weekend is always Saturday + Sunday, whatever country is passed; only the holiday list changes per country, so results are wrong for countries with a different weekend.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | YYYY-MM-DD | |
| country | No | ISO 3166-1 alpha-2 country code for the holiday list (default PL); does not change the Sat/Sun weekend | PL |