Skip to content

errant01/datemath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

datemath

provide method to add minutes to a date string

Setup

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

Compile app

cd src
javac ./*

Run CardRank app

after Compile app step run TimeMath like this:

java TimeMath "9:13 AM" 200

Compile and Run Tests

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.

About

provide method to add minutes to a date string

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages