get_year


Description:

public int get_year ()

Returns the year of this DateTime.

Call has_year before, to avoid warnings.

Parameters:

this

a DateTime

Returns:

The year of this DateTime