setYear() Sets the value of the Year calendar field. Syntax Calendar setYear(Numeric value) value is the year to set. Related conceptsgetYear()