Searched defs:amount (Results 1 - 3 of 3) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/apache/harmony/kernel/dalvik/
H A DThreadsTest.java144 /** whether {@link #amount} is milliseconds to wait in an
149 /** amount to wait (see above) */
150 private final long amount; field in class:ThreadsTest.Parker
173 this.amount = absolute ? parkMillis : parkMillis * 1000000;
183 long amount = this.amount;
188 UNSAFE.park(true, start + amount);
190 UNSAFE.park(false, amount);
206 * @param maxWaitMillis the maximum amount of time to
257 * specified amount o
[all...]
/libcore/ojluni/src/main/java/java/util/
H A DGregorianCalendar.java858 * Adds the specified (signed) amount of time to the given calendar field,
863 * call is <code>amount</code>, modulo any overflow that has occurred in
879 * @param amount the amount of date or time to be added to the field.
885 public void add(int field, int amount) { argument
886 // If amount == 0, do nothing even the given field is out of
888 if (amount == 0) {
902 year += amount;
912 year -= amount;
923 int month = internalGet(MONTH) + amount;
1131 roll(int field, int amount) argument
3301 getRolledValue(int value, int amount, int min, int max) argument
[all...]
H A DCalendar.java1986 * Adds or subtracts the specified amount of time to the given calendar field,
1992 * @param amount the amount of date or time to be added to the field.
1996 abstract public void add(int field, int amount); argument
2021 * Adds the specified (signed) amount to the specified calendar field
2022 * without changing larger fields. A negative amount means to roll
2033 * @param amount the signed amount to add to the calendar <code>field</code>.
2039 public void roll(int field, int amount) argument
2041 while (amount >
[all...]

Completed in 84 milliseconds