Update DateConverter.java

bug fixes