Searched refs:roll (Results 1 – 6 of 6) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | GregorianCalendarTest.java | 522 gc.roll(Calendar.DAY_OF_MONTH, -1); in test_rollII() 527 gc.roll(Calendar.DAY_OF_MONTH, 25); in test_rollII() 532 gc.roll(Calendar.DAY_OF_MONTH, -10); in test_rollII() 545 gc.roll(Calendar.DAY_OF_MONTH, false); in test_rollIZ() 550 gc.roll(Calendar.DAY_OF_MONTH, true); in test_rollIZ() 555 gc.roll(Calendar.DAY_OF_MONTH, true); in test_rollIZ() 563 cal.roll(Calendar.ZONE_OFFSET, true); in test_rollIZ() 570 cal.roll(Calendar.DST_OFFSET, true); in test_rollIZ() 578 cal.roll(Calendar.WEEK_OF_YEAR, true); in test_rollIZ() 588 cal.roll(Calendar.WEEK_OF_YEAR, true); in test_rollIZ() [all …]
|
D | CalendarTest.java | 699 calendar.roll(Calendar.DATE, 5); in test_roll() 703 calendar.roll(Calendar.DATE, -5); in test_roll() 707 calendar.roll(Calendar.DATE, 0); in test_roll() 712 calendar.roll(Calendar.MONTH, 1); in test_roll() 786 public void roll(int field, boolean increment) { in roll() method in CalendarTest.MockCalendar
|
/libcore/ojluni/src/main/java/java/util/ |
D | Calendar.java | 2018 abstract public void roll(int field, boolean up); in roll() method in Calendar 2039 public void roll(int field, int amount) in roll() method in Calendar 2042 roll(field, true); in roll() 2046 roll(field, false); in roll()
|
D | GregorianCalendar.java | 1083 public void roll(int field, boolean up) { in roll() method in GregorianCalendar 1084 roll(field, up ? +1 : -1); in roll() 1131 public void roll(int field, int amount) { in roll() method in GregorianCalendar
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | CalendarTest.java | 395 public void roll(int field, boolean increment) { in roll() method in CalendarTest.FakeCalendar
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest4.java | 475 public void roll(int p1, boolean p2) { in test_writeObject_Calendar()
|