how to add to dates in java??
- by terrific
I want to add days in a date to get a new date in java. How to achieve it using the Calender class. Gregorian calender.
Calender dom = new GregorianCalender(d, m y);
is the instance of my date of manufacture and I want to reach to Date of Expiry adding some 100 days to the current date and store it in doe but unable to do that.
Any help would be appreciable.