i think you want a date which is
86 days after 05/05/2008.
let me know if i am correct!
If that is,
GregorianCalendar will do the rest....
there is a constructor with parameters (year,month,date)
the value will then set into that date carrying a long value....
there is also a method there getTimeInMillis() that returns the updated long value that represents the date base on what value did you initialized at the constructor....
add an equivalent of 86 days ( 86 * 86,400,000 milliseconds ) to that updated long value....
You have to set the current time again by using
setTimeInMillis(long value) and that value should be the calculated one....
The current time is updated.....
you can now use get(int field) that returns an integer value representation of a specific date.... field is from GregorianCalendar class' constants....
by using those constants from the get(int field), you can have now an integer representation...
eg. YEAR returns 20XX
MONTH returns ( i doubt, try to test it... i think it starts from 1 to 12)
DATE returns from 1 to 31 ( try to test it )
If you like to format it in Strings, you can use SimpleDateFormat class...
Hope this helps,