Sep
13
|
The Calendar class can be used to do a variety of date arithmetic
Calendar cal = Calendar.getInstance(); cal.setTime(date); cal.add(Calendar.DATE, numberOfDays); date = cal.getTime();
Leave a Reply
You must be logged in to post a comment.