networkdays 0.0.1
networkdays: ^0.0.1 copied to clipboard
Calculate working days between two dates, following Excel NETWORKDAYS / NETWORKDAYS.INTL semantics. Supports custom weekend definitions, holidays, and returns lists of working-day DateTime values.
0.0.1 #
- Initial release.
networkDays— count working days between two dates (Saturday/Sunday weekend, Excel NETWORKDAYS semantics).networkDaysIntl— count working days with a configurable set of weekend days (Excel NETWORKDAYS.INTL semantics).getWorkdays— return a chronologically orderedList<DateTime>of all working days in a date range.- All functions accept a
holidayslist and normalize inputs to date-only. - Negative counts returned when
endis beforestart, matching Excel behaviour.