You can compute the WeekdaysBetweenTwoDates and BusinessDaysBetweenTwoDates using the BusinessDayCounter. More detail please take a look on test.
There are 3 holiday rules, which are "fixed", "adjusted" and "floating". More detail please take a look on test.
- fixed holiday is Public holidays which are always on the same day, e.g. Anzac Day on April 25th every year.
- adjusted holiday is Public holidays which are always on the same day, except when that falls on a weekend.
- floating holiday is Public holidays on a certain occurrence of a certain day in a month.
- run
npm install - run
npm run dev
- run
npm run test