Searched refs:calType (Results 1 – 4 of 4) sorted by relevance
/external/icu4c/test/intltest/ |
D | callimts.cpp | 195 const char* calType = cal.getType(); in doTheoreticalLimitsTest() local 217 errln((UnicodeString)"FAIL: [" + calType + "] Maximum value of DAY_OF_YEAR is too big: " in doTheoreticalLimitsTest() 222 … errln((UnicodeString)"FAIL: [" + calType + "] Least maximum value of DAY_OF_YEAR is too small: " in doTheoreticalLimitsTest() 230 errln((UnicodeString)"FAIL: [" + calType + "] Maximum value of WEEK_OF_YEAR is too big: " in doTheoreticalLimitsTest() 235 … errln((UnicodeString)"FAIL: [" + calType + "] Least maximum value of WEEK_OF_YEAR is too small: " in doTheoreticalLimitsTest() 242 …errln((UnicodeString)"FAIL: [" + calType + "] Maximum value of DAY_OF_WEEK_IN_MONTH is incorrect: " in doTheoreticalLimitsTest() 247 …errln((UnicodeString)"FAIL: [" + calType + "] Least maximum value of DAY_OF_WEEK_IN_MONTH is incor… in doTheoreticalLimitsTest() 254 errln((UnicodeString)"FAIL: [" + calType + "] Maximum value of WEEK_OF_MONTH is incorrect: " in doTheoreticalLimitsTest() 259 … errln((UnicodeString)"FAIL: [" + calType + "] Least maximum value of WEEK_OF_MONTH is incorrect: " in doTheoreticalLimitsTest()
|
D | windttst.cpp | 114 int32_t calType = 0; in testLocales() local 123 …lcidRecords[i].lcid, LOCALE_RETURN_NUMBER|LOCALE_ICALENDARTYPE, (LPWSTR) calType, sizeof(int32_t)); in testLocales() 128 uprv_strcat(localeID, getCalendarType(calType)); in testLocales()
|
/external/icu4c/i18n/ |
D | calendar.cpp | 204 ECalType calType = getCalendarType(keyword); in isStandardSupportedKeyword() local 205 return (calType != CALTYPE_UNKNOWN); in isStandardSupportedKeyword() 224 ECalType calType = CALTYPE_UNKNOWN; in getCalendarTypeForLocale() local 243 calType = getCalendarType(calTypeBuf); in getCalendarTypeForLocale() 244 if (calType != CALTYPE_UNKNOWN) { in getCalendarTypeForLocale() 245 return calType; in getCalendarTypeForLocale() 282 calType = getCalendarType(calTypeBuf); in getCalendarTypeForLocale() 289 if (calType == CALTYPE_UNKNOWN) { in getCalendarTypeForLocale() 291 calType = CALTYPE_GREGORIAN; in getCalendarTypeForLocale() 293 return calType; in getCalendarTypeForLocale() [all …]
|
/external/icu4c/test/cintltst/ |
D | ccaltst.c | 72 UCalendarType calType; member 456 … caldef = ucal_open(NULL, 0, ucalGetTypeTestPtr->locale, ucalGetTypeTestPtr->calType, &status); in TestCalendar() 458 const char * calType = ucal_getType(caldef, &status); in TestCalendar() local 459 if ( U_SUCCESS(status) && calType != NULL ) { in TestCalendar() 460 if ( uprv_strcmp( calType, ucalGetTypeTestPtr->expectedResult ) != 0 ) { in TestCalendar() 462 … ucalGetTypeTestPtr->calType, ucalGetTypeTestPtr->expectedResult); in TestCalendar() 465 …L: ucal_open %s type %d, then ucal_getType fails\n", localeToDisplay, ucalGetTypeTestPtr->calType); in TestCalendar() 469 … log_err("FAIL: ucal_open %s type %d fails\n", localeToDisplay, ucalGetTypeTestPtr->calType); in TestCalendar() 2103 const char * calType = ucal_getType(ucalTest, &status); in TestAddRollEra0AndEraBounds() local 2110 … } else if ( uprv_strcmp(calType,"chinese")!=0 && (eraAfter != 0 || yrAfter != -1) ) { in TestAddRollEra0AndEraBounds() [all …]
|