private Date addDays ( final Date date , final int days ) { final Calendar cal = Calendar . getInstance ( ) ; cal . setTime ( date ) ; cal . add ( Calendar . DATE , days ) ; //minus number would decrement the days return cal . getTime ( ) ; }
Create a new future Date from the specified Date .