OffsetDateTime.plusHours

Returns a copy of this {@code OffsetDateTime} with the specified number of hours added. !(p) This instance is immutable and unaffected by this method call.

@param hours the hours to add, may be negative @return an {@code OffsetDateTime} based on this date-time with the hours added, not null @throws DateTimeException if the result exceeds the supported date range

class OffsetDateTime
plusHours
(
long hours
)

Meta