Combines this instant with an offset to create an OffsetDateTime
.
This returns an OffsetDateTime
formed from this instant at the
specified offset from UTC/Greenwich. An exception will be thrown if the
instant is too large to fit into an offset date-time.
This method is equivalent to
OffsetDateTime.ofInstant(this, offset)
.
offset | the offset to combine with, not null |
DateTimeException | if the result exceeds the supported range |
Diagram: LocalTime