Microsoft SDK for Java

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

© 1999 Microsoft Corporation. All rights reserved. Terms of use.