InstantTemporalUnit
Instant APIs only work for NANOS, MICROS, MILLIS, SECONDS, MINUTES, HOURS, HALF_DAYS and DAYS.

Severity
ERROR

Suppression

Suppress false positives by adding the suppression annotation @SuppressWarnings("InstantTemporalUnit") to the enclosing element.