provide method to add minutes to a date string
Install Java 8 JDK per OS requirements
run java -version
and make sure it returns the expected version
clone this repo to a dir on your filesystem
Go to repo root dir
cd src
javac ./*
after Compile app step run TimeMath like this:
java TimeMath "9:13 AM" 200
after Compile app step, run these commands to compile
cd ../test
javac -cp ../src:../ext/lib/junit-4.12.jar ./*
Then run these commands to run the two test suite
java -cp .:../src:../ext/lib/junit-4.12.jar:../ext/lib/hamcrest-core-1.3.jar org.junit.runner.JUnitCore ChronosTest
The tests will run, each one is a . on the console. If there are failures they will be identified on the console.