SyntaxFix
Write A Post
Hire A Developer
Questions
For those that might end up here looking for the opposite conversion (from XMLGregorianCalendar to Date):
XMLGregorianCalendar
Date
XMLGregorianCalendar xcal = <assume this is initialized>; java.util.Date dt = xcal.toGregorianCalendar().getTime();