OffsetDateTime.toZonedDateTime

Converts this date-time to a {@code ZonedDateTime} using the offset as the zone ID. !(p) This creates the simplest possible {@code ZonedDateTime} using the offset as the zone ID. !(p) To control the time-zone used, see {@link #atZoneSameInstant(ZoneId)} and {@link #atZoneSimilarLocal(ZoneId)}.

@return a zoned date-time representing the same local date-time and offset, not null

class OffsetDateTime
toZonedDateTime
()

Meta