iran_business_days
Check, add, or count Iranian business days on Jalali dates, accounting for Friday or Thursday–Friday weekends and custom or fixed solar holidays.
Instructions
Business-day helper: op 'is_business_day', 'add' (days may be negative) or 'count' (days after 'date' up to and including 'to'). Weekend is Friday (optionally Thursday too); supply holidays yourself or enable the fixed solar ones.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | ||
| to | No | Jalali date as {year,month,day} or text like '1405/07/24' | |
| date | Yes | Jalali date as {year,month,day} or text like '1405/07/24' | |
| days | No | ||
| weekend | No | Weekend days; default friday only | |
| holidays | No | Extra Jalali holiday dates you supply, e.g. '1405/01/01' | |
| includeFixedSolarHolidays | No |