Searched refs:calType (Results 1 – 14 of 14) sorted by relevance
40 String calType = null; in getCalendarType() local42 calType = loc.getKeywordValue(CALKEY); in getCalendarType()43 if (calType != null) { in getCalendarType()44 return calType; in getCalendarType()50 calType = CALTYPE_CACHE.get(baseLoc); in getCalendarType()51 if (calType != null) { in getCalendarType()52 return calType; in getCalendarType()57 calType = canonical.getKeywordValue("calendar"); in getCalendarType()59 if (calType == null) { in getCalendarType()84 calType = order.getString(0); in getCalendarType()[all …]
196 const char* calType = cal.getType(); in doTheoreticalLimitsTest() local218 errln((UnicodeString)"FAIL: [" + calType + "] Maximum value of DAY_OF_YEAR is too big: " in doTheoreticalLimitsTest()223 … errln((UnicodeString)"FAIL: [" + calType + "] Least maximum value of DAY_OF_YEAR is too small: " in doTheoreticalLimitsTest()231 errln((UnicodeString)"FAIL: [" + calType + "] Maximum value of WEEK_OF_YEAR is too big: " in doTheoreticalLimitsTest()236 … errln((UnicodeString)"FAIL: [" + calType + "] Least maximum value of WEEK_OF_YEAR is too small: " in doTheoreticalLimitsTest()243 …errln((UnicodeString)"FAIL: [" + calType + "] Maximum value of DAY_OF_WEEK_IN_MONTH is incorrect: " in doTheoreticalLimitsTest()248 …errln((UnicodeString)"FAIL: [" + calType + "] Least maximum value of DAY_OF_WEEK_IN_MONTH is incor… in doTheoreticalLimitsTest()255 errln((UnicodeString)"FAIL: [" + calType + "] Maximum value of WEEK_OF_MONTH is incorrect: " in doTheoreticalLimitsTest()260 … errln((UnicodeString)"FAIL: [" + calType + "] Least maximum value of WEEK_OF_MONTH is incorrect: " in doTheoreticalLimitsTest()
114 int32_t calType = 0; in testLocales() local123 …lcidRecords[i].lcid, LOCALE_RETURN_NUMBER|LOCALE_ICALENDARTYPE, (LPWSTR) calType, sizeof(int32_t)); in testLocales()128 uprv_strcat(localeID, getCalendarType(calType)); in testLocales()
1619 String calType = locale.getKeywordValue("calendar"); in setCalendarLocale() local1620 if (calType != null) { in setCalendarLocale()1621 buf.append("@calendar=").append(calType); in setCalendarLocale()1824 CalType calType = getCalendarTypeForLocale(locale); in createInstance() local1825 if (calType == CalType.UNKNOWN) { in createInstance()1827 calType = CalType.GREGORIAN; in createInstance()1830 switch (calType) { in createInstance()2918 String calType = getType(); in roll() local2919 … if (calType.equals("gregorian") || calType.equals("roc") || calType.equals("coptic")) { in roll()3258 String calType = getType(); in add() local[all …]
615 String calType = cal.getType(); in TestCalendar() local616 if (!calType.equals("gregorian")) { in TestCalendar()617 errln("FAIL: Calendar type is " + calType + " Expected: gregorian"); in TestCalendar()639 calType = cal.getType(); in TestCalendar()640 if (!calType.equals("japanese")) { in TestCalendar()641 errln("FAIL: Calendar type is " + calType + " Expected: japanese"); in TestCalendar()673 calType = cal.getType(); in TestCalendar()674 if (!calType.equals("japanese")) { in TestCalendar()675 errln("FAIL: Calendar type afte clone is " + calType + " Expected: japanese"); in TestCalendar()681 calType = cal.getType(); in TestCalendar()[all …]
238 ECalType calType = getCalendarType(keyword); in isStandardSupportedKeyword() local239 return (calType != CALTYPE_UNKNOWN); in isStandardSupportedKeyword()258 ECalType calType = CALTYPE_UNKNOWN; in getCalendarTypeForLocale() local277 calType = getCalendarType(calTypeBuf); in getCalendarTypeForLocale()278 if (calType != CALTYPE_UNKNOWN) { in getCalendarTypeForLocale()279 return calType; in getCalendarTypeForLocale()316 calType = getCalendarType(calTypeBuf); in getCalendarTypeForLocale()323 if (calType == CALTYPE_UNKNOWN) { in getCalendarTypeForLocale()325 calType = CALTYPE_GREGORIAN; in getCalendarTypeForLocale()327 return calType; in getCalendarTypeForLocale()[all …]
206 String calType = uloc.getKeywordValue("calendar"); in TestCalendarKeyword() local207 if (calType == null) { in TestCalendarKeyword()
191 String calType = uloc.getKeywordValue("calendar"); in TestCalendarKeyword() local192 if (calType == null) { in TestCalendarKeyword()
77 UCalendarType calType; member462 … caldef = ucal_open(NULL, 0, ucalGetTypeTestPtr->locale, ucalGetTypeTestPtr->calType, &status); in TestCalendar()464 const char * calType = ucal_getType(caldef, &status); in TestCalendar() local465 if ( U_SUCCESS(status) && calType != NULL ) { in TestCalendar()466 if ( uprv_strcmp( calType, ucalGetTypeTestPtr->expectedResult ) != 0 ) { in TestCalendar()468 … ucalGetTypeTestPtr->calType, ucalGetTypeTestPtr->expectedResult); in TestCalendar()471 …L: ucal_open %s type %d, then ucal_getType fails\n", localeToDisplay, ucalGetTypeTestPtr->calType); in TestCalendar()475 … log_err("FAIL: ucal_open %s type %d fails\n", localeToDisplay, ucalGetTypeTestPtr->calType); in TestCalendar()2141 const char * calType = ucal_getType(ucalTest, &status); in TestAddRollEra0AndEraBounds() local2148 … } else if ( uprv_strcmp(calType,"chinese")!=0 && (eraAfter != 0 || yrAfter != -1) ) { in TestAddRollEra0AndEraBounds()[all …]
1914 String calType = null; in DateFormatSymbols() local1917 calType = calClassInfo[1]; in DateFormatSymbols()1921 if (calType == null) { in DateFormatSymbols()1922 calType = className.replaceAll("Calendar", "").toLowerCase(Locale.ENGLISH); in DateFormatSymbols()1925 initializeData(locale, calType); in DateFormatSymbols()
1521 String calType = ucalTest.getType(); in TestAddRollEra0AndEraBounds() local1522 …boolean era0YearsGoBackwards = (calType.equals("gregorian") || calType.equals("roc") || calType.eq… in TestAddRollEra0AndEraBounds()1562 if ( !calType.equals("chinese") && (eraAfter != 0 || yrAfter != -1) ) { in TestAddRollEra0AndEraBounds()1571 if (eraMin != 0 && calType.compareTo("chinese") != 0) { in TestAddRollEra0AndEraBounds()1572 … errln("Fail: getMinimum returns minimum era " + eraMin + " (should be 0) for calType " + calType); in TestAddRollEra0AndEraBounds()
2096 String calType = cal.getType();2098 if ( !calType.equals("gregorian")) {
1194 String calType = fmt.getCalendar().getType(); in TestDangiFormat() local1195 assertEquals("Incorrect calendar type used by the date format instance", "dangi", calType); in TestDangiFormat()
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...