- getAMPM() - Method in class Clock
-
Get the time period (either "AM" or "PM").
- getHour() - Method in class Clock
-
Get the current hour [1, 12].
- getMinute() - Method in class Clock
-
Get the current minute [0, 59].
- getSecond() - Method in class Clock
-
Get the current second [0, 59].