Wouldn't the following logic be enough?:

```
if (mapEndTime < report.getFinishTime()) {
  mapEndTime = report.getFinishTime();
}
if (mapStartTime < report.getStartTime()) {
  mapStartTime = report.getStartTime();
}
```