Update DateConverter.java

bug fixes
Merge pull request #27 from sgq0085/patch-1

Update DateConverter.java