Duration.get() only works with SECONDS or NANOS.

See: https://errorprone.info/bugpattern/DurationGetTemporalUnit