fun copy(time: Time = this.time, offset: UtcOffset = this.offset): OffsetTimefun copy(hour: Int = this.hour, minute: Int = this.minute, second: Int = this.second, nanosecond: Int = this.nanosecond, offset: UtcOffset = this.offset): OffsetTime
Return a copy of this OffsetTime, replacing individual components with new values as desired.
DateTimeException - if the resulting time or offset is invalid