Skip to content

This site describes solve-engine 2.44.0, the version npm installs.

HolidayPredicate

type HolidayPredicate = (date) => boolean;

Defined in: packages/engine/src/constants/Configuration.ts:34

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