Skip to content

addMonthsInRange Type documentation

(current: Date, monthsOffset: number, minDate: Date, maxDate: Date) => Date
Function
Get date delta specifically for months based on the offset.
-
Returns a new date object with the updated month.
Parameters
starting date.
current: Date
numeric offset of months.
monthsOffset: number
optional minimum allowed date.
minDate?: Date
optional maximum allowed date.
maxDate?: Date

Types Documentation

No types to document for items on this page.


Except where otherwise noted, content on this site is licensed under MIT License.