Package hw
Class Time

Public Method getMinute

int getMinute()

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Returns Range Description
int 0...59 the stored minute within a new created Time object

A new created Time object can be used to save the current time derived from the real-time clock. A new time is assigned to a Time object when the IO.getTime() method is called. Once a Time object is created, the minute value at the objects creation time will be stored into the Time object for further use. The getMinute() method returns the minute as an integer value.

Example

Time saveCurrentTime = IO.getTime();

Console.println("stored minute: " + saveCurrentTime.getMinute());

See also:

IO.getTime()
IO.setTime(int, int, int)