-
Install the module:
npm install --save @learnersguild/guild-dates
-
Use the APIs, e.g.:
$ node > var guildDates = require('@learnersguild/guild-dates') > guildDates { summerBreakWeekMonday: [Getter], winterBreakWeekMonday: [Getter], summerBreakWeekDays: [Getter], winterBreakWeekDays: [Getter], breakWeekDaysBetween: [Getter], isDuringBreakWeek: [Getter], newYearsDay: [Getter], mlkJrDay: [Getter], presidentsDay: [Getter], cesarChavezDay: [Getter], memorialDay: [Getter], independenceDay: [Getter], laborDay: [Getter], indigenousPeoplesDay: [Getter], veteransDay: [Getter], thanksgivingDay: [Getter], thanksgivingFriday: [Getter], christmasEve: [Getter], christmasDay: [Getter], holidaysBetween: [Getter], isHoliday: [Getter], nextStartDate: [Getter], defaultStartDate: [Getter], MAX_PROGRAM_WEEKS: [Getter], CANCELLATION_WEEKS: [Getter], expectedExitDate: [Getter], defaultExpectedExitDate: [Getter], isaCancellationDate: [Getter], defaultISACancellationDate: [Getter], stipendPaymentDatesBetween: [Getter], momentDayOnly: [Getter], formatDate: [Getter], throwsIfInvalidDate: [Getter] }
See the LICENSE file.