Microsoft SDK for Java

Time.getSecond

Retrieves the seconds of the minute that this Time object represents.

Syntax

public int getSecond()

Return Value

Returns an integer value that represents the seconds of the minute that this Time object represents.

Remarks

The number returned by the getSecond method is always between 0 and 59.

See Also   getHour, getMinute, getMillis, getTimeOfDay

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