Searched refs:ucalTest (Results 1 – 3 of 3) sorted by relevance
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | IBMCalendarTest.java | 1616 Calendar ucalTest = Calendar.getInstance(zoneGMT, new ULocale(localeID)); in TestAddRollEra0AndEraBounds() local 1617 String calType = ucalTest.getType(); in TestAddRollEra0AndEraBounds() 1621 ucalTest.clear(); in TestAddRollEra0AndEraBounds() 1622 ucalTest.set(Calendar.YEAR, 2); in TestAddRollEra0AndEraBounds() 1623 ucalTest.set(Calendar.ERA, 0); in TestAddRollEra0AndEraBounds() 1624 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds() 1625 ucalTest.add(Calendar.YEAR, 1); in TestAddRollEra0AndEraBounds() 1626 yrAfter = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds() 1631 ucalTest.clear(); in TestAddRollEra0AndEraBounds() 1632 ucalTest.set(Calendar.YEAR, 2); in TestAddRollEra0AndEraBounds() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | IBMCalendarTest.java | 1613 Calendar ucalTest = Calendar.getInstance(zoneGMT, new ULocale(localeID)); in TestAddRollEra0AndEraBounds() local 1614 String calType = ucalTest.getType(); in TestAddRollEra0AndEraBounds() 1618 ucalTest.clear(); in TestAddRollEra0AndEraBounds() 1619 ucalTest.set(Calendar.YEAR, 2); in TestAddRollEra0AndEraBounds() 1620 ucalTest.set(Calendar.ERA, 0); in TestAddRollEra0AndEraBounds() 1621 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds() 1622 ucalTest.add(Calendar.YEAR, 1); in TestAddRollEra0AndEraBounds() 1623 yrAfter = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds() 1628 ucalTest.clear(); in TestAddRollEra0AndEraBounds() 1629 ucalTest.set(Calendar.YEAR, 2); in TestAddRollEra0AndEraBounds() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | ccaltst.c | 2096 UCalendar *ucalTest = ucal_open(zoneGMT, -1, eraTestItemPtr->locale, UCAL_DEFAULT, &status); in TestAddRollEra0AndEraBounds() local 2101 ucal_clear(ucalTest); in TestAddRollEra0AndEraBounds() 2102 ucal_set(ucalTest, UCAL_YEAR, 2); in TestAddRollEra0AndEraBounds() 2103 ucal_set(ucalTest, UCAL_ERA, 0); in TestAddRollEra0AndEraBounds() 2104 yrBefore = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds() 2105 ucal_add(ucalTest, UCAL_YEAR, 1, &status); in TestAddRollEra0AndEraBounds() 2106 yrAfter = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds() 2116 ucal_clear(ucalTest); in TestAddRollEra0AndEraBounds() 2117 ucal_set(ucalTest, UCAL_YEAR, 2); in TestAddRollEra0AndEraBounds() 2118 ucal_set(ucalTest, UCAL_ERA, 0); in TestAddRollEra0AndEraBounds() [all …]
|