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

Method minus

base/src/main/java/net/time4j/PlainTime.java:1436–1443  ·  view source on GitHub ↗
(
        long amount,
        ClockUnit unit
    )

Source from the content-addressed store, hash-verified

1434 * @since 4.19
1435 */
1436 public PlainTime minus(
1437 long amount,
1438 ClockUnit unit
1439 ) {
1440
1441 return this.plus(Math.negateExact(amount), unit);
1442
1443 }
1444
1445 /**
1446 * <p>Rolls this time by the given duration (as amount and unit) and

Callers 3

decimalRoundTripMethod · 0.95
nowTimeMethod · 0.95
getDurationMethod · 0.95

Calls 1

plusMethod · 0.95

Tested by 2

decimalRoundTripMethod · 0.76
nowTimeMethod · 0.76