public static Date addDays ( long dt , int days ) { Calendar c = getCalendar ( ) ; if ( dt > 0L ) c . setTimeInMillis ( dt ) ; c . add ( Calendar . DATE , days ) ; return c . getTime ( ) ; }
Returns the given date adding the given number of days .