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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
anchor |
number |
months |
number |
Returns
Section titled “Returns”number