What is the best way to convert XMLGregorianCalendar objects to \'MM/dd/yyyy hh:mm\' String?
This example convert XMLGregorianCalendar to date
XMLGregorianCalendar xmlCalendar = DatatypeFactory.newInstance().newXMLGregorianCalendar(new GregorianCalendar());
Date date = xmlCalendar.toGregorianCalendar().getTime();
This example convert date to string
DateFormat df = new SimpleDateFormat("MM/dd/yyyy hh:mm");
String dateStr = df.format(GregorianCalendar.getInstance().getTime());