/Speaking-clock

Given a 24 hour clock convert the current time into words

Primary LanguageJava

Speaking clock

Specification

  1. Given a 24 hour clock convert the current time into words e.g. "08:34" should be converted to "It's eight thirty four"

  2. Return Midday and Midnight as "It's Midday" and "It's Midnight"

The time allotted to the test is 1 hour. Your solution will be judged on a number of criteria pertinent to good software development practice.

Incomplete solutions are acceptable. Please note any assumptions you make, or any further questions you have regarding the requirements.

For the purposes of this exercise, please use Java 8 libraries.

Note

You can use tests to demonstrate your solution since there is no specific requirement to allow the application as a whole to be run.

Run & test

After you downloaded the code, run it by typing

mvnw clean package

Check the test results on console.