toOffsetDateTime method

OffsetDateTime toOffsetDateTime()

Constructs an OffsetDateTime with the same local date and time, and the same offset as this zoned date and time, effectively just 'removing' the time zone itself.

Returns: An OffsetDateTime with the same local date/time and offset as this value.

Implementation

OffsetDateTime toOffsetDateTime() => _offsetDateTime;