ZoneId.of("Z")
should be replaced with ZoneOffset.UTC
JAVA-W1085Avoid calling ZoneId.of()
to get the UTC timezone offset, and instead use ZoneOffset.UTC
directly.
ZoneId utc = ZoneId.of("Z");
ZoneId utc = ZoneOffset.UTC;
java.time.ZoneId.of()
java.time.ZoneOffset.UTC