ItEr43S10SoporteImpresionMultiplesPaxinasItEr42S15: Using abstract round instead of roundToNextYear
This commit is contained in:
parent
104a5d8ad1
commit
31f7eae8df
1 changed files with 1 additions and 2 deletions
|
|
@ -97,8 +97,7 @@ public abstract class TimeTrackerStateUsingJodaTime extends TimeTrackerState {
|
|||
|
||||
private Interval calculateForAtLeastMinimum(Interval atLeastMinimum) {
|
||||
LocalDate start = round(asLocalDate(atLeastMinimum.getStart()), true);
|
||||
LocalDate finish = roundToNextYear(asLocalDate(atLeastMinimum
|
||||
.getFinish()));
|
||||
LocalDate finish = round(asLocalDate(atLeastMinimum.getFinish()), false);
|
||||
Interval result = new Interval(start.toDateTimeAtStartOfDay().toDate(),
|
||||
finish
|
||||
.toDateTimeAtStartOfDay().toDate());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue