- setAlarm(SimpleTime) - Method in class cse1030.AlarmClock
-
Set the alarm time.
- setAM(boolean) - Method in class cse1030.SimpleTime
-
Set the time to AM or PM.
- setClock(SimpleTime) - Method in class cse1030.AlarmClock
-
Set the clock time.
- setHour(int) - Method in class cse1030.SimpleTime
-
Set the hour of the day (1-12) represented by this object.
- setMinute(int) - Method in class cse1030.SimpleTime
-
Set the minute of the hour (0-59) represented by this object.
- SimpleTime - Class in cse1030
-
A class that represents a time using hours and minutes.
- SimpleTime() - Constructor for class cse1030.SimpleTime
-
Create a SimpleTime
representing midnight (12:00 AM).
- SimpleTime(SimpleTime) - Constructor for class cse1030.SimpleTime
-
Create a SimpleTime
object that represents the same time
as another SimpleTime
object.
- SimpleTime(int, int, boolean) - Constructor for class cse1030.SimpleTime
-
Create a SimpleTime
representing the time with the given hour
and minute.