You will Java 8, Maven and GIT installed. Ensure your $JAVA_HOME is set and that your $PATH points to $JAVA_HOME/bin.
Open terminal and run the following:
git clone https://github.com/ChrisRitchie/date-calculator.git
cd date-calculator
mvn clean install
Execute the jar and follow the prompts:
java -jar ./target/data-calculator-0.0.1-SNAPSHOT.jar