https://github.com/n-c0de-r/cs1.03_timepiece
Making a Timepiece with different functions. 1st semester, 3rd lab.
https://github.com/n-c0de-r/cs1.03_timepiece
1st-semester 3rd-lab clock computer-science informatics java
Last synced: 7 months ago
JSON representation
Making a Timepiece with different functions. 1st semester, 3rd lab.
- Host: GitHub
- URL: https://github.com/n-c0de-r/cs1.03_timepiece
- Owner: n-c0de-r
- Created: 2021-05-03T11:07:36.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-06T13:38:39.000Z (over 2 years ago)
- Last Synced: 2025-01-15T10:21:11.715Z (9 months ago)
- Topics: 1st-semester, 3rd-lab, clock, computer-science, informatics, java
- Language: Java
- Homepage:
- Size: 1.92 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Description from the project:
The TimeDisplay class implements a digital clock display for a...1) European-style 24 hour clock. The clock shows hours and minutes. The
range of the clock is 00:00 (midnight) to 23:59 (one minute before midnight).or
2) US-style 12 hour clock. The clock shows hours and minutes. The range of
the clock is 01:00 (midnight) to 12:59 (one minute before midnight)
and keeps track if it's am or pmor
3) A "fake" US-style showing 12 hour clock but is a European clock inside.
The clock display receives "ticks" (via the timeTick method) every minute
and reacts by incrementing the display. This is done in the usual clock
fashion: the hour increments when the minutes roll over to zero.Based on the original by David J. Barnes and Michael Kölling
@author n-c0de-r
@version 2023.02.05
Includes a very basic GUI and with a sound file, could potentiall
even play an alarm sound when everything is set up correctly.