localTime.getNano() only accesses the nanos-of-second field. It's rare to only use getNano() without a nearby getSecond() call.

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