We should be using `Instant` and `Duration` from the `java.time` package instead of millisecond times stored as `long`s or `int`s.
We should be using
InstantandDurationfrom thejava.timepackage instead of millisecond times stored aslongs orints.