Skip to content

addMonthsClamped

function addMonthsClamped(anchor, months): number;

Defined in: src/periods.ts:21

anchor shifted by months, with the day clamped to the target month’s length.

Parameter Type
anchor number
months number

number