Added method to compare XMLGregorianCalendar to Date object