Code example for XMLGregorianCalendar

Methods: toGregorianCalendar

0
 
    public static Date toDate(XMLGregorianCalendar cal) {
        if (cal == null) {
            return null; 
        } else { 
            return cal.toGregorianCalendar().getTime();
        } 
    } 
 
 
 
 
} 
Experience pair programming with AI  Get Codota for Java