Java OffsetDateTime.atZoneSimilarLocal() Method with Examples
In this Java core tutorial we learn how to use the java.time.OffsetDateTime.atZoneSimilarLocal(ZoneId zone) method to convert a OffsetDateTime object to a ZonedDateTime object trying to keep the same local date and time.