Searched defs:subtract (Results 1 - 5 of 5) sorted by relevance

/libcore/luni/src/main/java/javax/xml/datatype/
H A DDuration.java68 * subtract 15 days from 1 month. See the javadoc of those methods
449 * <p>Since there's no way to meaningfully subtract 1 day from 1 month,
485 * @see #subtract(Duration)
576 * <p>Since there's no way to meaningfully subtract 1 day from 1 month,
599 * @param rhs <code>Duration</code> to subtract from this <code>Duration</code>.
613 public Duration subtract(final Duration rhs) { method in class:Duration
/libcore/luni/src/main/java/java/math/
H A DBigInteger.java431 public BigInteger subtract(BigInteger value) { method in class:BigInteger
H A DBigDecimal.java816 tempBI = larger.getUnscaledValue().subtract(
836 public BigDecimal subtract(BigDecimal subtrahend) { method in class:BigDecimal
857 return new BigDecimal(this.getUnscaledValue().subtract(subtrahend.getUnscaledValue()), this.scale);
864 return new BigDecimal(this.getUnscaledValue().subtract(
873 .subtract(subtrahend.getUnscaledValue()), subtrahend.scale);
889 public BigDecimal subtract(BigDecimal subtrahend, MathContext mc) { method in class:BigDecimal
897 return subtract(subtrahend).round(mc);
901 // Cases where it is unnecessary to subtract two numbers with very different scales
908 tempBI = this.getUnscaledValue().subtract(BigInteger.valueOf(thisSignum));
918 return subtract(subtrahen
[all...]
/libcore/ojluni/src/test/java/time/tck/java/time/
H A DTCKPeriod.java779 public void test_minus_TemporalAmount(Period base, Period subtract, Period expected) { argument
780 assertEquals(base.minus(subtract), expected);
/libcore/jsr166-tests/src/test/java/jsr166/
H A DCompletableFutureTest.java431 static Integer subtract(Integer x, Integer y) { method in class:CompletableFutureTest
443 value = subtract(x, y);
453 return value = subtract(x, y);
491 value = subtract(x, y);
513 value = subtract(x, y);
1626 checkCompletedNormally(h1, subtract(w1, w1));
1627 checkCompletedNormally(h3, subtract(w1, w1));
1628 rs[1].assertValue(subtract(w1, w1));
1629 rs[3].assertValue(subtract(w1, w1));
1633 checkCompletedNormally(h0, subtract(v
[all...]

Completed in 670 milliseconds