DayPilot.Date.addYears

DayPilot.Date.addYears(years)

Adds the specified number of years to the value of this instance. Returns a new DayPilot.Date object. The current value is not changed.

Parameters:

  • years (integer)