Book

Book

Methods

all() → {Array.<Days>}

Description:
  • return all holidays
Source:
Returns:
all holidays
Type
Array.<Days>

events() → {Array.<Days>}

Description:
  • return all events
Source:
Returns:
all events
Type
Array.<Days>

isHoliday(date) → {boolean}

Description:
  • check date is holiday or not
Source:
Parameters:
Name Type Description
date Date date
Returns:
Type
boolean

isWorkingday(date) → {boolean}

Description:
  • check data is workingday or not
Source:
Parameters:
Name Type Description
date Date date
Returns:
Type
boolean