Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Ducal.cpp137 UCalendarType caltype, in ucal_open() argument
150 if ( caltype == UCAL_GREGORIAN ) { in ucal_open()
695 char *caltype = (char*)uprv_malloc(len + 1); in ucal_getKeywordValuesForLocale() local
696 if (caltype == NULL) { in ucal_getKeywordValuesForLocale()
700 u_UCharsToChars(type, caltype, len); in ucal_getKeywordValuesForLocale()
701 *(caltype + len) = 0; in ucal_getKeywordValuesForLocale()
703 ulist_addItemEndList(values, caltype, TRUE, status); in ucal_getKeywordValuesForLocale()
/external/icu/android_icu4j/src/main/tests/android/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/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DULocaleTest.java216 String caltype = cal.getType(); in TestJavaLocaleCompatibility() local
217 if (!caltype.equals("japanese")) { in TestJavaLocaleCompatibility()
218 errln("FAIL: Invalid calendar type: " + caltype + " /expected: japanese"); in TestJavaLocaleCompatibility()
222 caltype = cal.getType(); in TestJavaLocaleCompatibility()
223 if (!caltype.equals("gregorian")) { in TestJavaLocaleCompatibility()
224 errln("FAIL: Invalid calendar type: " + caltype + " /expected: gregorian"); in TestJavaLocaleCompatibility()
241 caltype = cal.getType(); in TestJavaLocaleCompatibility()
242 if (!caltype.equals("japanese")) { in TestJavaLocaleCompatibility()
243 errln("FAIL: Invalid calendar type: " + caltype + " /expected: japanese"); in TestJavaLocaleCompatibility()