A Java coding exercise to develop a clock that can tell the time in plain English.
Prerequisites:
- JDK1.6
- Maven 2.x
To build:
- Download all source.
- From root folder, type: mvn package
- executable jar file will be created in /target
If you've built the binary it will be located in the target sub-folder name clock-1.0.jar. A pre-packaged binary is also available in the bin sub-folder with the same name.
To run:
- Use the following command: java -jar [time parameter in 24hr format] e.g. java -jar clock-1.0.jar 23:46
Enjoy!