Skip to content

Function: shiftBusinessDays()

@taqwim/core


@taqwim/core / shiftBusinessDays

shiftBusinessDays(startEpochDay, amount, weekend): number

Defined in: packages/core/src/lib/weekend.ts:42

Steps amount business days from startEpochDay, skipping weekend days. Negative amounts step backwards. The starting day is never counted, so a start that falls on a weekend simply walks forward to the next working day.

number

number

Weekend

number