Code example for XMLGregorianCalendar

Methods: toGregorianCalendar

0
     * Transform a XmlGregorianCalendar date into a java.util.Date format. 
     * @param gregorianCalendar the date to be trasnformed 
     * @return the date transformed 
     */ 
    public static Date transformIntoDate(final XMLGregorianCalendar gregorianCalendar){
        Assert.notNull(gregorianCalendar, "Try to provide some gregorianCalendar param to convert into java.util.Date");
        return gregorianCalendar.toGregorianCalendar().getTime();
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE