jClock is a console-based mock up of Clock mobile application.
At the start of the program, the user will be shown a list of features jClock has. In order to start a feature, the user has to select a feature by pressing the corresponding number.
Menu: Type in the number of feature to use (1) Digital Time (2) Stopwatch (3) Set Alarm
For example, if the user wants to use the stopwatch feature, he/she has to press key '2' in order to start the stopwatch feature.
- Digital Time
Simply displays the current system time.
<li>Stopwatch</li>
<p>The key 's' will be pressed to start and stop the stopwatch. This feature records the time elapsed from the moment the user chose to start the
stopwatch until the user chose to stop it. Once the stopwatch is stopped, the time elapsed will be then displayed in the console.</p>
<li>Alarm Clock</li>
<p>The user will be asked to input a specific time format (hour:minute:secondMeridiem) as a reference time for the alarm clock. Once the time inputted
is the same with the system time (the Digital Time feature), the console will display the string "Alarm!" to notify the user.