get_year


Description:

public int get_year ()

Retrieves the year represented by this in the Gregorian calendar.

Parameters:

this

A DateTime

Returns:

the year represented by this