Expand description
Plain and business-day range iteration helpers.
Constants§
- STANDARD_
WEEKMASK - Standard Mon–Fri weekmask.
Functions§
- business_
day_ range - Inclusive business-day range.
weekmask[i]is true if weekdayi(Mon=0 … Sun=6) is a business day.holidaysis a set of dates to exclude regardless of weekday. - business_
days_ between - Number of business days in [start, end] inclusive.
- date_
range - Inclusive calendar-day range with a fixed integer step (days).
- next_
business_ day - Move to the next business day strictly after
d. - previous_
business_ day - Move to the previous business day strictly before
d.