get_year


Description:

public DateYear get_year ()

Returns the year of a Date.

The date must be valid.

Parameters:

this

a Date

Returns:

year in which the date falls