Searched refs:jCal (Results 1 – 3 of 3) sorted by relevance
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | JapaneseTest.java | 461 final JapaneseCalendar jCal = new JapaneseCalendar(); in TestJpnCalAddSetNextEra() local 462 jCal.clear(); // This sets to 1970 in Showa in TestJpnCalAddSetNextEra() 464 final int sEra = jCal.get(Calendar.ERA); // Don't assume era number for Showa in TestJpnCalAddSetNextEra() 468 jCal.clear(); in TestJpnCalAddSetNextEra() 469 jCal.set(Calendar.ERA, sEra + iEra); in TestJpnCalAddSetNextEra() 470 int eYear = jCal.get(Calendar.EXTENDED_YEAR); in TestJpnCalAddSetNextEra() 474 jCal.add(Calendar.ERA, 1); in TestJpnCalAddSetNextEra() 475 eYear = jCal.get(Calendar.EXTENDED_YEAR); in TestJpnCalAddSetNextEra()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | JapaneseTest.java | 458 final JapaneseCalendar jCal = new JapaneseCalendar(); in TestJpnCalAddSetNextEra() local 459 jCal.clear(); // This sets to 1970 in Showa in TestJpnCalAddSetNextEra() 461 final int sEra = jCal.get(Calendar.ERA); // Don't assume era number for Showa in TestJpnCalAddSetNextEra() 465 jCal.clear(); in TestJpnCalAddSetNextEra() 466 jCal.set(Calendar.ERA, sEra + iEra); in TestJpnCalAddSetNextEra() 467 int eYear = jCal.get(Calendar.EXTENDED_YEAR); in TestJpnCalAddSetNextEra() 471 jCal.add(Calendar.ERA, 1); in TestJpnCalAddSetNextEra() 472 eYear = jCal.get(Calendar.EXTENDED_YEAR); in TestJpnCalAddSetNextEra()
|
/external/icu/icu4c/source/test/cintltst/ |
D | ccaltst.c | 2504 UCalendar *jCal = ucal_open(NULL, 0, "ja_JP@calendar=japanese", UCAL_DEFAULT, &status); in TestJpnCalAddSetNextEra() local 2508 ucal_clear(jCal); // This sets to 1970, in Showa in TestJpnCalAddSetNextEra() 2509 int32_t sEra = ucal_get(jCal, UCAL_ERA, &status); // Don't assume era number for Showa in TestJpnCalAddSetNextEra() 2517 ucal_clear(jCal); in TestJpnCalAddSetNextEra() 2518 ucal_set(jCal, UCAL_ERA, sEra+iEra); in TestJpnCalAddSetNextEra() 2519 eYear = ucal_get(jCal, UCAL_EXTENDED_YEAR, &status); in TestJpnCalAddSetNextEra() 2525 ucal_add(jCal, UCAL_ERA, 1, &status); in TestJpnCalAddSetNextEra() 2529 eYear = ucal_get(jCal, UCAL_EXTENDED_YEAR, &status); in TestJpnCalAddSetNextEra() 2543 ucal_close(jCal); in TestJpnCalAddSetNextEra()
|