Home
last modified time | relevance | path

Searched refs:roll (Results 1 – 6 of 6) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DGregorianCalendarTest.java514 gc.roll(Calendar.DAY_OF_MONTH, -1); in test_rollII()
519 gc.roll(Calendar.DAY_OF_MONTH, 25); in test_rollII()
524 gc.roll(Calendar.DAY_OF_MONTH, -10); in test_rollII()
537 gc.roll(Calendar.DAY_OF_MONTH, false); in test_rollIZ()
542 gc.roll(Calendar.DAY_OF_MONTH, true); in test_rollIZ()
547 gc.roll(Calendar.DAY_OF_MONTH, true); in test_rollIZ()
555 cal.roll(Calendar.ZONE_OFFSET, true); in test_rollIZ()
562 cal.roll(Calendar.DST_OFFSET, true); in test_rollIZ()
570 cal.roll(Calendar.WEEK_OF_YEAR, true); in test_rollIZ()
580 cal.roll(Calendar.WEEK_OF_YEAR, true); in test_rollIZ()
[all …]
DCalendarTest.java699 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/luni/src/main/java/java/util/
DCalendar.java915 roll(field, true); in getActualMaximum()
936 roll(field, false); in getActualMinimum()
1102 public void roll(int field, int value) { in roll() method in Calendar
1106 roll(field, increment); in roll()
1116 public abstract void roll(int field, boolean increment); in roll() method in Calendar
DGregorianCalendar.java1144 public void roll(int field, int value) { in roll() method in GregorianCalendar
1260 public void roll(int field, boolean increment) { in roll() method in GregorianCalendar
1261 roll(field, increment ? 1 : -1); in roll()
/libcore/luni/src/main/java/libcore/icu/
DDateIntervalFormat.java96 endCalendar.roll(Calendar.DAY_OF_MONTH, false); in formatDateRange()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest4.java475 public void roll(int p1, boolean p2) { in test_writeObject_Calendar()