JavaLocalDateTimeGetNano
localDateTime.getNano() only access the nanos-of-second field. It's rare to only use getNano() without a nearby getSecond() call.
Suppression
Suppress false positives by adding the suppression annotation @SuppressWarnings("JavaLocalDateTimeGetNano")
to the enclosing element.