Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.3.0-beta1
-
None
Description
Currently code does:
calendar.add(Calendar.DATE, 1);
return Time.valueOf(calendar, this);
Because Time.valueOf(Calendar, TimeOfDay) always returns the time on the same day, the add is ignored. Instead this code should be the time of day today plus one day like this:
return Time.valueOf(calendar, this).add(Duration.ONE_DAY);