Time.getYear

Overview | Methods | Fields | This Package | All Packages

Time.getYear

Retrieves the year that this Time object represents.

Syntax

public int getYear()

Return Value

Returns an integer value that represents the year that this Time object represents.

Remarks

The number returned by the getYear method will always be between 100 and 10,000.

See Also   getDay, getMonth, getDate