public static Date adddDaysToCurrentDate ( int numberOfDays ) { Date date = new Date ( ) ; Calendar instance = Calendar . getInstance ( ) ; instance . setTime ( date ) ; instance . add ( Calendar . DATE , numberOfDays ) ; return instance . getTime ( ) ; }
Addd days to current date .