public XMLGregorianCalendar addDays ( final XMLGregorianCalendar cal , final int amount ) { XMLGregorianCalendar to = buildXMLGregorianCalendarDate ( cal ) ; // Add amount of months to . add ( addDays ( amount ) ) ; return to ; }
Add Days to a Gregorian Calendar .