HolidayPredicate
type HolidayPredicate = (date) => boolean;Defined in: packages/engine/src/constants/Configuration.ts:32
A host’s test for whether a calendar date is a public holiday, given the
Date for that day at local midnight. Return true to exclude it from
working-day arithmetic.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
date | Date |
Returns
Section titled “Returns”boolean