addYears

fun addYears(nYears: <Error class: unknown class>)

Increments a date by some number of years. If the date is February 29, and the destination year is not a leap year, the date will be changed to February 28. The date must be valid.

Parameters

nYears

number of years to move forward