The getYear() and setYear() methods of Date objects get and set the year as an offset to 1900.
getYear()
setYear()
Date