Prefer to express durations using the largest possible unit, e.g.
Duration.ofDays(1) instead of Duration.ofSeconds(86400).
Suppress false positives by adding the suppression annotation @SuppressWarnings("CanonicalDuration") to the enclosing element.