Skip to content

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.

ParameterType
dateDate

boolean