Package hw
Class Time

Public Method setHour

void setHour(int hour)

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Parameter Range Description
hour 0 ... 23 hour value of a time object

This method is used to set up the current hour of an Time object.

Example

time.setHour(2);

See also:

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