Duration.minusMinutes

Returns a copy of this duration with the specified duration _in minutes subtracted. !(p) The number of hours is multiplied by 60 to obtain the number of seconds to subtract. !(p) This instance is immutable and unaffected by this method call.

@param minutesToSubtract the minutes to subtract, positive or negative @return a {@code Duration} based on this duration with the specified minutes subtracted, not null @throws ArithmeticException if numeric overflow occurs

class Duration
minusMinutes

Meta