Date.getYear

Date.getYear

Class Overview | Class Members | This Package | All Packages

Syntax
public int getYear()
Returns
the year represented by this date, minus 1900.
Description
Note: getYear() is deprecated.

Returns the year represented by this date, minus 1900.

See Also
Calendar