LocalDateTime.minusHours

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

@param hours the hours to subtract, may be negative @return a {@code LocalDateTime} based on this date-time with the hours subtracted, not null @throws DateTimeException if the result exceeds the supported date range

class LocalDateTime
minusHours
(
long hours
)

Meta