Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DIBMCalendarTest.java1520 Calendar ucalTest = Calendar.getInstance(zoneGMT, new ULocale(localeID)); in TestAddRollEra0AndEraBounds() local
1521 String calType = ucalTest.getType(); in TestAddRollEra0AndEraBounds()
1525 ucalTest.clear(); in TestAddRollEra0AndEraBounds()
1526 ucalTest.set(Calendar.YEAR, 2); in TestAddRollEra0AndEraBounds()
1527 ucalTest.set(Calendar.ERA, 0); in TestAddRollEra0AndEraBounds()
1528 yrBefore = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1529 ucalTest.add(Calendar.YEAR, 1); in TestAddRollEra0AndEraBounds()
1530 yrAfter = ucalTest.get(Calendar.YEAR); in TestAddRollEra0AndEraBounds()
1535 ucalTest.clear(); in TestAddRollEra0AndEraBounds()
1536 ucalTest.set(Calendar.YEAR, 2); in TestAddRollEra0AndEraBounds()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dccaltst.c2088 UCalendar *ucalTest = ucal_open(zoneGMT, -1, eraTestItemPtr->locale, UCAL_DEFAULT, &status); in TestAddRollEra0AndEraBounds() local
2093 ucal_clear(ucalTest); in TestAddRollEra0AndEraBounds()
2094 ucal_set(ucalTest, UCAL_YEAR, 2); in TestAddRollEra0AndEraBounds()
2095 ucal_set(ucalTest, UCAL_ERA, 0); in TestAddRollEra0AndEraBounds()
2096 yrBefore = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds()
2097 ucal_add(ucalTest, UCAL_YEAR, 1, &status); in TestAddRollEra0AndEraBounds()
2098 yrAfter = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds()
2108 ucal_clear(ucalTest); in TestAddRollEra0AndEraBounds()
2109 ucal_set(ucalTest, UCAL_YEAR, 2); in TestAddRollEra0AndEraBounds()
2110 ucal_set(ucalTest, UCAL_ERA, 0); in TestAddRollEra0AndEraBounds()
[all …]