getCurrentOffsetDateTime method

OffsetDateTime getCurrentOffsetDateTime()

Returns the offset date/time of the current instant provided by the underlying clock, adjusted to the time zone of this object.

The offset date/time of the current instant provided by the underlying clock, adjusted to the time zone of this object.

Implementation

OffsetDateTime getCurrentOffsetDateTime() => getCurrentZonedDateTime().toOffsetDateTime();