What is the correct way to increment a java.util.Date by one day.
I\'m thinking something like
Calendar cal = Calendar.getInstance(); ca
Yeah, that's right. Java Date APIs feel wrong quite often. I recommend you try Joda Time. It would be something like:
DateTime startDate = ... DateTime endDate = startDate.plusDays(1);
or:
Instant start = ... Instant end = start.plus(Days.days(1).toStandardDuration());