OffsetTime.plusHours

Returns a copy of this {@code OffsetTime} with the specified number of hours added. !(p) This adds the specified number of hours to this time, returning a new time. The calculation wraps around midnight. !(p) This instance is immutable and unaffected by this method call.

@param hours the hours to add, may be negative @return an {@code OffsetTime} based on this time with the hours added, not null

class OffsetTime
plusHours
(
long hours
)

Meta