MCPcopy Create free account
hub / github.com/MenoData/Time4J / minus

Method minus

base/src/main/java/net/time4j/MachineTime.java:697–704  ·  view source on GitHub ↗
(
        long amount,
        U unit
    )

Source from the content-addressed store, hash-verified

695 * @since 2.0
696 */
697 public MachineTime<U> minus(
698 long amount,
699 U unit
700 ) {
701
702 return this.plus(Math.negateExact(amount), unit);
703
704 }
705
706 /**
707 * <p>Subtracts given temporal amount from this machine time. </p>

Callers 1

subtractFromMethod · 0.45

Calls 4

plusMethod · 0.95
isEmptyMethod · 0.95
isEmptyMethod · 0.65
inverseMethod · 0.45

Tested by

no test coverage detected