Code example for XMLGregorianCalendar

Methods: toGregorianCalendar

0
 
    public static Date toDate(XMLGregorianCalendar cal) {
        if (cal == null) {
            return null; 
        } else { 
            return cal.toGregorianCalendar().getTime();
        } 
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE