Home
last modified time | relevance | path

Searched refs:ucalTest (Results 1 – 3 of 3) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DIBMCalendarTest.java1611 Calendar ucalTest = Calendar.getInstance(zoneGMT, new ULocale(localeID)); in TestAddRollEra0AndEraBounds() local
1612 String calType = ucalTest.getType(); in TestAddRollEra0AndEraBounds()
1616 ucalTest.clear(); in TestAddRollEra0AndEraBounds()
1617 ucalTest.set(Calendar.YEAR, 2); in TestAddRollEra0AndEraBounds()
1618 ucalTest.set(Calendar.ERA, 0); in TestAddRollEra0AndEraBounds()
1619 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1620 ucalTest.add(Calendar.YEAR, 1); in TestAddRollEra0AndEraBounds()
1621 yrAfter = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1626 ucalTest.clear(); in TestAddRollEra0AndEraBounds()
1627 ucalTest.set(Calendar.YEAR, 2); in TestAddRollEra0AndEraBounds()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DIBMCalendarTest.java1610 Calendar ucalTest = Calendar.getInstance(zoneGMT, new ULocale(localeID)); in TestAddRollEra0AndEraBounds() local
1611 String calType = ucalTest.getType(); in TestAddRollEra0AndEraBounds()
1615 ucalTest.clear(); in TestAddRollEra0AndEraBounds()
1616 ucalTest.set(Calendar.YEAR, 2); in TestAddRollEra0AndEraBounds()
1617 ucalTest.set(Calendar.ERA, 0); in TestAddRollEra0AndEraBounds()
1618 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1619 ucalTest.add(Calendar.YEAR, 1); in TestAddRollEra0AndEraBounds()
1620 yrAfter = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1625 ucalTest.clear(); in TestAddRollEra0AndEraBounds()
1626 ucalTest.set(Calendar.YEAR, 2); in TestAddRollEra0AndEraBounds()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dccaltst.c2096 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 …]