Long weekends
ti_long_weekendsFinds consecutive days off in a Jalali year by joining official holidays with Fridays, optionally Thursdays, to list long weekends filtered by minimum run length.
Instructions
Find runs of consecutive days off in a Jalali year: official holidays joined with Fridays (optionally Thursdays).
Use for "long weekends in 1405". Bridge days are not counted; runs are cut at the year boundary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Jalali year. Omit for current. | |
| min_days | No | Shortest run to list. | |
| thursday_off | No | Count Thursdays as days off. |