Date.setYear

Date.setYear

Class Overview | Class Members | This Package | All Packages

Syntax
public void setYear( int year )
Parameters
year
the year value.
Description
Note: setYear() is deprecated.

Sets the year of this date to be the specified value plus 1900.

See Also
Calendar