addMonths

fun addMonths(nMonths: <Error class: unknown class>)

Increments a date by some number of months. If the day of the month is greater than 28, this routine may change the day of the month (because the destination month may not have the current day in it). The date must be valid.

Parameters

nMonths

number of months to move forward