From http://stackoverflow.com/questions/1555262/calculating-the-difference-between-two-java-date-instances