withOffset method
Creates a new OffsetTime for the same time-of-day, but with the specified UTC offset.
offset
: The new UTC offset.
Returns: A new OffsetTime
for the same date, but with the specified UTC offset.
Implementation
OffsetTime withOffset(Offset offset) => OffsetTime(clockTime, offset);