withOffset method
Returns an OffsetDateTime for this local date/time with the given offset.
This method is purely a convenient alternative to calling the OffsetDateTime constructor directly.
offset
: The offset to apply.
Returns: The result of this local date/time offset by the given amount.
Implementation
OffsetDateTime withOffset(Offset offset) => IOffsetDateTime.lessTrust(calendarDate, clockTime, offset);