Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Ducal.cpp154 UCalendarType caltype, in ucal_open() argument
168 if ( caltype == UCAL_GREGORIAN ) { in ucal_open()
719 char *caltype = (char*)uprv_malloc(len + 1); in ucal_getKeywordValuesForLocale() local
720 if (caltype == NULL) { in ucal_getKeywordValuesForLocale()
724 u_UCharsToChars(type, caltype, len); in ucal_getKeywordValuesForLocale()
725 *(caltype + len) = 0; in ucal_getKeywordValuesForLocale()
727 ulist_addItemEndList(values, caltype, TRUE, status); in ucal_getKeywordValuesForLocale()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DULocaleTest.java219 String caltype = cal.getType(); in TestJavaLocaleCompatibility() local
220 if (!caltype.equals("japanese")) { in TestJavaLocaleCompatibility()
221 errln("FAIL: Invalid calendar type: " + caltype + " /expected: japanese"); in TestJavaLocaleCompatibility()
225 caltype = cal.getType(); in TestJavaLocaleCompatibility()
226 if (!caltype.equals("gregorian")) { in TestJavaLocaleCompatibility()
227 errln("FAIL: Invalid calendar type: " + caltype + " /expected: gregorian"); in TestJavaLocaleCompatibility()
244 caltype = cal.getType(); in TestJavaLocaleCompatibility()
245 if (!caltype.equals("japanese")) { in TestJavaLocaleCompatibility()
246 errln("FAIL: Invalid calendar type: " + caltype + " /expected: japanese"); in TestJavaLocaleCompatibility()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DULocaleTest.java222 String caltype = cal.getType(); in TestJavaLocaleCompatibility() local
223 if (!caltype.equals("japanese")) { in TestJavaLocaleCompatibility()
224 errln("FAIL: Invalid calendar type: " + caltype + " /expected: japanese"); in TestJavaLocaleCompatibility()
228 caltype = cal.getType(); in TestJavaLocaleCompatibility()
229 if (!caltype.equals("gregorian")) { in TestJavaLocaleCompatibility()
230 errln("FAIL: Invalid calendar type: " + caltype + " /expected: gregorian"); in TestJavaLocaleCompatibility()
247 caltype = cal.getType(); in TestJavaLocaleCompatibility()
248 if (!caltype.equals("japanese")) { in TestJavaLocaleCompatibility()
249 errln("FAIL: Invalid calendar type: " + caltype + " /expected: japanese"); in TestJavaLocaleCompatibility()