Use DateTime instead of XMLGregregorianCalendar.