·
Have you noticed a lot of code in your application that does the same thing?
Why not encapsulate a method for this?
For example:
Calendar c = Calendar.getInstance();
c.setTime(new Date());
c.add(Calendar.DATE, +1);
Date userDate = c.getTime();It would be a lot easier and much clearer to encapsulate all this code in a separated class and method:
Date nextDay = DateUtils.getNextDay();
Consider if need to keep state of your object, if so, instantiate it!
Remember, the most important thing here, is to encapsulate your solution!