add_business_days
Calculate a date by adding or subtracting business days, skipping weekends and Polish public holidays. Use a country code for other holiday calendars; starts from the next business day if the start date is non-working.
Instructions
Add N business days to a start date and return the resulting date. N can be negative to subtract. Skips weekends and Polish public holidays. If start_date is itself a non-business day, counting starts from the next business day (the previous one when N is negative). The weekend is always Saturday + Sunday, whatever country is passed; only the holiday list changes per country.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | Number of business days to add (negative to subtract) | |
| country | No | ISO 3166-1 alpha-2 country code for the holiday list (default PL); does not change the Sat/Sun weekend | PL |
| start_date | Yes | YYYY-MM-DD |