plusYears

open fun plusYears(years: Int): LocalDate

Return a new date which is the specified number of years ahead of this date.

Return

A new date which is the specified number of years ahead of this date.

Parameters

years

Number of years to add. Can be negative, zero or positive.