1.0.3 • Published 5 years ago

gantt-calendar v1.0.3

Weekly downloads
2
License
GNU GPL
Repository
github
Last release
5 years ago

Gantt Calendar v1.0.3

A non-UI calendar module based on working hours, working days, holidays. It lets you count the number of business days/hours between 2 dates, get next working days and so on.

Getting Started

Importing the module gives access to the CalendarBuilder function object which is initialized as:

const CalendarBuilder = require('gantt-calendar');
let calendarBuilder  = new CalendarBuilder();

Set the properties of the calendar through the setters of the calendarBuilder and finally:

let calendar = calendarBuilder.build();

Then all calendar methods can be utilized.

See the package source.