Processing time wraps negative

Code reviewMedium16 min

Your task

Review this Java code that sums request durations (milliseconds) to compute total processing time over a day.

A busy shard handles tens of millions of requests per day.