adjust method
Returns this offset time-of-day, with the given date adjuster applied to it, maintaining the existing offset.
If the adjuster attempts to construct an invalid time-of-day, any exception thrown by that construction attempt will be propagated through this method.
adjuster
: The adjuster to apply.
Returns: The adjusted offset date.
Implementation
OffsetTime adjust(LocalTime Function(LocalTime) adjuster) =>
OffsetTime(clockTime.adjust(adjuster), offset);