Giter Club home page Giter Club logo

date-test's Introduction

The Brief

nb: Created, circa 2014 (authors note: This is not the latest version, have to find the latest and upload)

Calculate difference between two dates.

Description:

Create an app, able to parse dates in the following format -

DD MM YYYY, DD MM YYYY

Validation

Validate the input data, then calculate the diff between the two dates, in days. Output of the application should be of the form -

DD MM YYYY, DD MM YYYY, difference

Where the first date is the earliest, the second date is the latest and the difference is the number of days. Input can be from a file, or from standard input, as the developer chooses. Provide test data to exercise the application.

Constraints:

The application may not make use of the Java or other libraries for date manipulation (for example Date, Calendar classes). The application can limit calculation on an input range of dates from 1900 to 2010

Deliverables:

An IDE importable java project including but not restricted to source files and test files

Instructions

# pull, then run
mvn clean install

Cobertura and Findbugs output can be found in ./target after building.

date-test's People

Watchers

James Cloos avatar Mick Love avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.