business-date-checker

1.0.0 • Public • Published

Business Date Library

Node.js library for business date manipulation and validation.

Build Status

This libary helps validate business days, weekend days, week days and holidays for various countries in the world. So far 144 countries are supported.

The validation and parsing of date are done without timezone and dates without times.

Features

  • Checking whether a date is a business date in a given country. Business date is a date that is not a holiday nor a weekend day
  • Calculation of the number of week days between two dates. Week days Monday to Friday
  • Calculation of the number of weekend days between two dates. Weekend days Saturday and Sunday
  • Calculation of the number of holidays between two dates in a given country
  • Checking whether a given date is a week day.
  • Checking whether a given date in a country is a holiday
  • Checking whether a given date is a weekend day.
  • Addition of a number of business days to a given date in a country to get the next business date.

References

Package Sidebar

Install

npm i business-date-checker

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

219 kB

Total Files

21

Last publish

Collaborators

  • tochemey