Code example for XMLGregorianCalendar

Methods: toGregorianCalendar

0
      return xmlGregorianCalendar; 
   } 
 
   @Override 
   public Date unmarshal(XMLGregorianCalendar v) throws Exception { 
      Date date = v.toGregorianCalendar().getTime(); 
      return date; 
   } 
 
}