set_year


Description:

public void set_year (DateYear year)

Sets the year for a Date.

If the resulting day-month-year triplet is invalid, the date will be invalid.

Parameters:

this

a Date

year

year to set