networkdays 0.0.2
networkdays: ^0.0.2 copied to clipboard
Calculate working days between two dates with Excel NETWORKDAYS semantics. Supports custom weekends, holidays, and date-list output.
0.0.2 #
- Added
example/networkdays_example.dartwith runnable usage examples. - Added library-level dartdoc comment; all public API now fully documented.
- Migrated tests from
flutter_test/expect()topackage:test+package:checksassertions. - Added
package:coveragedev dependency; test suite achieves 100% line coverage.
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.