Searched refs:roll (Results 1 - 4 of 4) sorted by relevance
/openjdk7/jdk/src/share/classes/sun/util/ |
H A D | BuddhistCalendar.java | 158 * A negative roll amount means to subtract from field without changing 163 public void roll(int field, int amount) method in class:BuddhistCalendar 170 super.roll(field, amount);
|
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | Calendar.java | 103 * <code>add</code> and <code>roll</code> involves such calculation. 207 * <code>set()</code>, <code>add()</code>, and <code>roll()</code>.</p> 215 * <code>add()</code>, or <code>roll()</code> is made. Thus, multiple calls to 274 * <p><strong><code>roll(f, delta)</code></strong> adds 286 * <p><em>Example</em>: See {@link java.util.GregorianCalendar#roll(int, int)}. 289 * <code>add()</code> and <code>roll()</code>, consider a user interface 298 * <code>add()</code> or <code>roll()</code>, depending on whether larger 2010 * @see #roll(int,int) 2017 * field without changing larger fields. For example, to roll the current 2019 * <p>roll(Calenda 2035 abstract public void roll(int field, boolean up); method in class:Calendar 2056 public void roll(int field, int amount) method in class:Calendar [all...] |
H A D | GregorianCalendar.java | 1064 * originally set to December 31, 1999. Calling {@link #roll(int,boolean) roll(Calendar.MONTH, true)} 1077 public void roll(int field, boolean up) { method in class:GregorianCalendar 1078 roll(field, up ? +1 : -1); 1083 * A negative roll amount means to subtract from field without changing 1093 * originally set to August 31, 1999. Calling <code>roll(Calendar.MONTH, 1102 * <code>roll(Calendar.WEEK_OF_MONTH, -1)</code> sets the calendar to 1105 * Sunday May 30, 1999. This is because the roll rule imposes an 1120 * @see #roll(int,boolean) 1125 public void roll(in method in class:GregorianCalendar [all...] |
H A D | JapaneseImperialCalendar.java | 485 public void roll(int field, boolean up) { method in class:JapaneseImperialCalendar 486 roll(field, up ? +1 : -1); 491 * A negative roll amount means to subtract from field without changing 505 * @see #roll(int,boolean) 509 public void roll(int field, int amount) { method in class:JapaneseImperialCalendar 534 // the range within they must roll varies depending on the 591 // E.g., <jan31>.roll(MONTH, 1) -> <feb28> or <feb29>. 831 // values here due to the Calendar roll spec! 835 // the relative values, perform the roll, and 854 // here due to the Calendar roll spe [all...] |
Completed in 58 milliseconds