Lines Matching refs:amount
2003 * Adds or subtracts the specified amount of time to the given calendar field,
2009 * @param amount the amount of date or time to be added to the field.
2013 abstract public void add(int field, int amount);
2038 * Adds the specified (signed) amount to the specified calendar field
2039 * without changing larger fields. A negative amount means to roll
2050 * @param amount the signed amount to add to the calendar <code>field</code>.
2056 public void roll(int field, int amount)
2058 while (amount > 0) {
2060 amount--;
2062 while (amount < 0) {
2064 amount++;