InvalidJavaTimeConstant
This checker errors on calls to java.time methods using values that are guaranteed to throw a DateTimeException.

Severity
ERROR

Suppression

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