Searched refs:caltype (Results 1 - 3 of 3) sorted by relevance

/external/icu/icu4c/source/i18n/
H A Ducal.cpp134 UCalendarType caltype,
147 if ( caltype == UCAL_GREGORIAN ) {
699 char *caltype = (char*)uprv_malloc(len + 1); local
700 if (caltype == NULL) {
704 u_UCharsToChars(type, caltype, len);
705 *(caltype + len) = 0;
707 ulist_addItemEndList(values, caltype, TRUE, status);
131 ucal_open( const UChar* zoneID, int32_t len, const char* locale, UCalendarType caltype, UErrorCode* status) argument
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
H A DULocaleTest.java202 String caltype = cal.getType();
203 if (!caltype.equals("japanese")) {
204 errln("FAIL: Invalid calendar type: " + caltype + " /expected: japanese");
208 caltype = cal.getType();
209 if (!caltype.equals("gregorian")) {
210 errln("FAIL: Invalid calendar type: " + caltype + " /expected: gregorian");
227 caltype = cal.getType();
228 if (!caltype.equals("japanese")) {
229 errln("FAIL: Invalid calendar type: " + caltype + " /expected: japanese");
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DULocaleTest.java198 String caltype = cal.getType();
199 if (!caltype.equals("japanese")) {
200 errln("FAIL: Invalid calendar type: " + caltype + " /expected: japanese");
204 caltype = cal.getType();
205 if (!caltype.equals("gregorian")) {
206 errln("FAIL: Invalid calendar type: " + caltype + " /expected: gregorian");
223 caltype = cal.getType();
224 if (!caltype.equals("japanese")) {
225 errln("FAIL: Invalid calendar type: " + caltype + " /expected: japanese");

Completed in 96 milliseconds