fixed improper date conversion for XMLGregorianCalendar