Package hw
Class IO

Public Method setTime

static void setTime(int hour, int minute, int second)

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Parameter Range Description
hour 0 ... 23 hour of the clock
minute 0 ... 59 minutes of the clock
second 0 ... 59 seconds of the clock

The setTime() method sets the time of the real-time clock.

Example

IO.setTime(14, 15, 32);

Sets the clock to 14:15:32.

See also:

IO.getDateTime()
IO.getTime()
IO.getDate()
IO.setDate(int, int, int, int)