/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | CalendarUtil.java | 44 String calType = loc.getKeywordValue(CALKEY); in getCalendarType() local 45 if (calType != null) { in getCalendarType() 48 return calType.toLowerCase(Locale.ROOT); in getCalendarType() 53 calType = canonical.getKeywordValue(CALKEY); in getCalendarType() 54 if (calType != null) { in getCalendarType() 55 return calType; in getCalendarType()
|
D | EraRules.java | 40 public static EraRules getInstance(CalType calType, boolean includeTentativeEra) { in getInstance() argument 44 UResourceBundle calendarTypeRes = calendarDataRes.get(calType.getId()); in getInstance() 59 … new ICUException("Invald era rule key:" + eraIdxStr + " in era rule data for " + calType.getId()); in getInstance() 62 … throw new ICUException("Era rule key:" + eraIdxStr + " in era rule data for " + calType.getId() in getInstance() 67 … "Dupulicated era rule for rule key:" + eraIdxStr + " in era rule data for " + calType.getId()); in getInstance() 81 + calType.getId()); in getInstance() 104 … "Era data for " + eraIdxStr + " in era rule data for " + calType.getId() in getInstance() 110 + calType.getId()); in getInstance()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | CalendarUtil.java | 42 String calType = loc.getKeywordValue(CALKEY); in getCalendarType() local 43 if (calType != null) { in getCalendarType() 46 return calType.toLowerCase(Locale.ROOT); in getCalendarType() 51 calType = canonical.getKeywordValue(CALKEY); in getCalendarType() 52 if (calType != null) { in getCalendarType() 53 return calType; in getCalendarType()
|
D | EraRules.java | 38 public static EraRules getInstance(CalType calType, boolean includeTentativeEra) { in getInstance() argument 42 UResourceBundle calendarTypeRes = calendarDataRes.get(calType.getId()); in getInstance() 57 … new ICUException("Invald era rule key:" + eraIdxStr + " in era rule data for " + calType.getId()); in getInstance() 60 … throw new ICUException("Era rule key:" + eraIdxStr + " in era rule data for " + calType.getId() in getInstance() 65 … "Dupulicated era rule for rule key:" + eraIdxStr + " in era rule data for " + calType.getId()); in getInstance() 79 + calType.getId()); in getInstance() 102 … "Era data for " + eraIdxStr + " in era rule data for " + calType.getId() in getInstance() 108 + calType.getId()); in getInstance()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/ |
D | EraRulesTest.java | 27 for (CalType calType : CalType.values()) { in testAPIs() 28 String calId = calType.getId(); in testAPIs() 32 EraRules rules1 = EraRules.getInstance(calType, false); in testAPIs() 37 EraRules rules2 = EraRules.getInstance(calType, true); in testAPIs()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | EraRulesTest.java | 24 for (CalType calType : CalType.values()) { in testAPIs() 25 String calId = calType.getId(); in testAPIs() 29 EraRules rules1 = EraRules.getInstance(calType, false); in testAPIs() 34 EraRules rules2 = EraRules.getInstance(calType, true); in testAPIs()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | callimts.cpp | 232 const char* calType = cal.getType(); in doTheoreticalLimitsTest() local 254 errln((UnicodeString)"FAIL: [" + calType + "] Maximum value of DAY_OF_YEAR is too big: " in doTheoreticalLimitsTest() 259 … errln((UnicodeString)"FAIL: [" + calType + "] Least maximum value of DAY_OF_YEAR is too small: " in doTheoreticalLimitsTest() 267 errln((UnicodeString)"FAIL: [" + calType + "] Maximum value of WEEK_OF_YEAR is too big: " in doTheoreticalLimitsTest() 272 … errln((UnicodeString)"FAIL: [" + calType + "] Least maximum value of WEEK_OF_YEAR is too small: " in doTheoreticalLimitsTest() 279 …errln((UnicodeString)"FAIL: [" + calType + "] Maximum value of DAY_OF_WEEK_IN_MONTH is incorrect: " in doTheoreticalLimitsTest() 284 …errln((UnicodeString)"FAIL: [" + calType + "] Least maximum value of DAY_OF_WEEK_IN_MONTH is incor… in doTheoreticalLimitsTest() 291 errln((UnicodeString)"FAIL: [" + calType + "] Maximum value of WEEK_OF_MONTH is incorrect: " in doTheoreticalLimitsTest() 296 … errln((UnicodeString)"FAIL: [" + calType + "] Least maximum value of WEEK_OF_MONTH is incorrect: " in doTheoreticalLimitsTest()
|
D | windttst.cpp | 120 int32_t calType = 0; in testLocales() local 146 calType = value; in testLocales() 150 uprv_strcat(localeID, getCalendarType(calType)); in testLocales()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | Calendar.java | 1631 String calType = locale.getKeywordValue("calendar"); in setCalendarLocale() local 1632 if (calType != null) { in setCalendarLocale() 1633 buf.append("@calendar=").append(calType); in setCalendarLocale() 1802 CalType calType = getCalendarTypeForLocale(locale); in createInstance() local 1803 if (calType == CalType.UNKNOWN) { in createInstance() 1805 calType = CalType.GREGORIAN; in createInstance() 1808 switch (calType) { in createInstance() 2893 String calType = getType(); in roll() local 2894 … if (calType.equals("gregorian") || calType.equals("roc") || calType.equals("coptic")) { in roll() 3233 String calType = getType(); in add() local [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | Calendar.java | 1564 String calType = locale.getKeywordValue("calendar"); in setCalendarLocale() local 1565 if (calType != null) { in setCalendarLocale() 1566 buf.append("@calendar=").append(calType); in setCalendarLocale() 1729 CalType calType = getCalendarTypeForLocale(locale); in createInstance() local 1730 if (calType == CalType.UNKNOWN) { in createInstance() 1732 calType = CalType.GREGORIAN; in createInstance() 1735 switch (calType) { in createInstance() 2795 String calType = getType(); in roll() local 2796 … if (calType.equals("gregorian") || calType.equals("roc") || calType.equals("coptic")) { in roll() 3134 String calType = getType(); in add() local [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | GlobalizationPreferencesTest.java | 635 String calType = cal.getType(); in TestCalendar() local 636 if (!calType.equals("gregorian")) { in TestCalendar() 637 errln("FAIL: Calendar type is " + calType + " Expected: gregorian"); in TestCalendar() 659 calType = cal.getType(); in TestCalendar() 660 if (!calType.equals("japanese")) { in TestCalendar() 661 errln("FAIL: Calendar type is " + calType + " Expected: japanese"); in TestCalendar() 693 calType = cal.getType(); in TestCalendar() 694 if (!calType.equals("japanese")) { in TestCalendar() 695 errln("FAIL: Calendar type afte clone is " + calType + " Expected: japanese"); in TestCalendar() 701 calType = cal.getType(); in TestCalendar() [all …]
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/ |
D | GlobalizationPreferencesTest.java | 632 String calType = cal.getType(); in TestCalendar() local 633 if (!calType.equals("gregorian")) { in TestCalendar() 634 errln("FAIL: Calendar type is " + calType + " Expected: gregorian"); in TestCalendar() 656 calType = cal.getType(); in TestCalendar() 657 if (!calType.equals("japanese")) { in TestCalendar() 658 errln("FAIL: Calendar type is " + calType + " Expected: japanese"); in TestCalendar() 690 calType = cal.getType(); in TestCalendar() 691 if (!calType.equals("japanese")) { in TestCalendar() 692 errln("FAIL: Calendar type afte clone is " + calType + " Expected: japanese"); in TestCalendar() 698 calType = cal.getType(); in TestCalendar() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | calendar.cpp | 242 ECalType calType = getCalendarType(keyword); in isStandardSupportedKeyword() local 243 return (calType != CALTYPE_UNKNOWN); in isStandardSupportedKeyword() 264 ECalType calType = CALTYPE_UNKNOWN; in getCalendarTypeForLocale() local 283 calType = getCalendarType(calTypeBuf); in getCalendarTypeForLocale() 284 if (calType != CALTYPE_UNKNOWN) { in getCalendarTypeForLocale() 285 return calType; in getCalendarTypeForLocale() 315 calType = getCalendarType(calTypeBuf); in getCalendarTypeForLocale() 322 if (calType == CALTYPE_UNKNOWN) { in getCalendarTypeForLocale() 324 calType = CALTYPE_GREGORIAN; in getCalendarTypeForLocale() 326 return calType; in getCalendarTypeForLocale() [all …]
|
D | erarules.h | 31 …static EraRules* createInstance(const char *calType, UBool includeTentativeEra, UErrorCode& status…
|
D | erarules.cpp | 111 EraRules* EraRules::createInstance(const char *calType, UBool includeTentativeEra, UErrorCode& stat… in createInstance() argument 117 ures_getByKey(rb.getAlias(), calType, rb.getAlias(), &status); in createInstance()
|
/third_party/icu/icu4c/source/i18n/ |
D | calendar.cpp | 242 ECalType calType = getCalendarType(keyword); in isStandardSupportedKeyword() local 243 return (calType != CALTYPE_UNKNOWN); in isStandardSupportedKeyword() 264 ECalType calType = CALTYPE_UNKNOWN; in getCalendarTypeForLocale() local 285 calType = getCalendarType(calTypeBuf); in getCalendarTypeForLocale() 286 if (calType != CALTYPE_UNKNOWN) { in getCalendarTypeForLocale() 287 return calType; in getCalendarTypeForLocale() 317 calType = getCalendarType(calTypeBuf); in getCalendarTypeForLocale() 324 if (calType == CALTYPE_UNKNOWN) { in getCalendarTypeForLocale() 326 calType = CALTYPE_GREGORIAN; in getCalendarTypeForLocale() 328 return calType; in getCalendarTypeForLocale() [all …]
|
D | erarules.h | 37 …static EraRules* createInstance(const char *calType, UBool includeTentativeEra, UErrorCode& status…
|
D | erarules.cpp | 114 EraRules* EraRules::createInstance(const char *calType, UBool includeTentativeEra, UErrorCode& stat… in createInstance() argument 120 ures_getByKey(rb.getAlias(), calType, rb.getAlias(), &status); in createInstance()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | calendar.cpp | 242 ECalType calType = getCalendarType(keyword); in isStandardSupportedKeyword() local 243 return (calType != CALTYPE_UNKNOWN); in isStandardSupportedKeyword() 264 ECalType calType = CALTYPE_UNKNOWN; in getCalendarTypeForLocale() local 285 calType = getCalendarType(calTypeBuf); in getCalendarTypeForLocale() 286 if (calType != CALTYPE_UNKNOWN) { in getCalendarTypeForLocale() 287 return calType; in getCalendarTypeForLocale() 317 calType = getCalendarType(calTypeBuf); in getCalendarTypeForLocale() 324 if (calType == CALTYPE_UNKNOWN) { in getCalendarTypeForLocale() 326 calType = CALTYPE_GREGORIAN; in getCalendarTypeForLocale() 328 return calType; in getCalendarTypeForLocale() [all …]
|
D | erarules.h | 37 …static EraRules* createInstance(const char *calType, UBool includeTentativeEra, UErrorCode& status…
|
D | erarules.cpp | 114 EraRules* EraRules::createInstance(const char *calType, UBool includeTentativeEra, UErrorCode& stat… in createInstance() argument 120 ures_getByKey(rb.getAlias(), calType, rb.getAlias(), &status); in createInstance()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | calendar.cpp | 242 ECalType calType = getCalendarType(keyword); in isStandardSupportedKeyword() local 243 return (calType != CALTYPE_UNKNOWN); in isStandardSupportedKeyword() 264 ECalType calType = CALTYPE_UNKNOWN; in getCalendarTypeForLocale() local 285 calType = getCalendarType(calTypeBuf); in getCalendarTypeForLocale() 286 if (calType != CALTYPE_UNKNOWN) { in getCalendarTypeForLocale() 287 return calType; in getCalendarTypeForLocale() 317 calType = getCalendarType(calTypeBuf); in getCalendarTypeForLocale() 324 if (calType == CALTYPE_UNKNOWN) { in getCalendarTypeForLocale() 326 calType = CALTYPE_GREGORIAN; in getCalendarTypeForLocale() 328 return calType; in getCalendarTypeForLocale() [all …]
|
D | erarules.h | 37 …static EraRules* createInstance(const char *calType, UBool includeTentativeEra, UErrorCode& status…
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | RelativeDateTimeFormatter.java | 1506 String calType = r.getStringWithFallback("calendar/default"); in getDateTimePattern() local 1507 if (calType == null || calType.equals("")) { in getDateTimePattern() 1508 calType = "gregorian"; in getDateTimePattern() 1510 String resourcePath = "calendar/" + calType + "/DateTimePatterns"; in getDateTimePattern() 1512 if (patternsRb == null && calType.equals("gregorian")) { in getDateTimePattern()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | RelativeDateTimeFormatter.java | 1416 String calType = r.getStringWithFallback("calendar/default"); in getDateTimePattern() local 1417 if (calType == null || calType.equals("")) { in getDateTimePattern() 1418 calType = "gregorian"; in getDateTimePattern() 1420 String resourcePath = "calendar/" + calType + "/DateTimePatterns"; in getDateTimePattern() 1422 if (patternsRb == null && calType.equals("gregorian")) { in getDateTimePattern()
|