addYear() Adds or subtracts the specified amount of time to the given Year field, based on the calendar's rules. Syntax Calendar addYear(Numeric amount) amount is the amount of date or time to be added to the Year field. Related conceptsrollYear()setYear()