Home
last modified time | relevance | path

Searched refs:calendarTypeToUse (Results 1 – 12 of 12) sorted by relevance

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DDateIntervalInfo.java569 String calendarTypeToUse = locale.getKeywordValue("calendar"); in setup() local
570 if ( calendarTypeToUse == null ) { in setup()
573 calendarTypeToUse = preferredCalendarTypes[0]; // the most preferred calendar in setup()
575 if ( calendarTypeToUse == null ) { in setup()
576 calendarTypeToUse = "gregorian"; // fallback in setup()
585 … String fallbackPattern = resource.getStringWithFallback(CALENDAR_KEY + "/" + calendarTypeToUse in setup()
592 while (calendarTypeToUse != null) { in setup()
594 if (loadedCalendarTypes.contains(calendarTypeToUse)) { in setup()
595 throw new ICUException("Loop in calendar type fallback: " + calendarTypeToUse); in setup()
599 loadedCalendarTypes.add(calendarTypeToUse); in setup()
[all …]
DDateTimePatternGenerator.java164 String calendarTypeToUse = uLocale.getKeywordValue("calendar"); in getCalendarTypeToUse() local
165 if ( calendarTypeToUse == null ) { in getCalendarTypeToUse()
167 calendarTypeToUse = preferredCalendarTypes[0]; // the most preferred calendar in getCalendarTypeToUse()
169 if ( calendarTypeToUse == null ) { in getCalendarTypeToUse()
170 calendarTypeToUse = "gregorian"; // fallback in getCalendarTypeToUse()
172 return calendarTypeToUse; in getCalendarTypeToUse()
269 String calendarTypeToUse = getCalendarTypeToUse(uLocale); in addCLDRData() local
282 "calendar/" + calendarTypeToUse + "/appendItems", in addCLDRData()
300 "calendar/" + calendarTypeToUse + "/availableFormats", in addCLDRData()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalInfo.java585 String calendarTypeToUse = locale.getKeywordValue("calendar"); in setup() local
586 if ( calendarTypeToUse == null ) { in setup()
589 calendarTypeToUse = preferredCalendarTypes[0]; // the most preferred calendar in setup()
591 if ( calendarTypeToUse == null ) { in setup()
592 calendarTypeToUse = "gregorian"; // fallback in setup()
601 … String fallbackPattern = resource.getStringWithFallback(CALENDAR_KEY + "/" + calendarTypeToUse in setup()
608 while (calendarTypeToUse != null) { in setup()
610 if (loadedCalendarTypes.contains(calendarTypeToUse)) { in setup()
611 throw new ICUException("Loop in calendar type fallback: " + calendarTypeToUse); in setup()
615 loadedCalendarTypes.add(calendarTypeToUse); in setup()
[all …]
DDateTimePatternGenerator.java191 String calendarTypeToUse = uLocale.getKeywordValue("calendar"); in getCalendarTypeToUse() local
192 if ( calendarTypeToUse == null ) { in getCalendarTypeToUse()
194 calendarTypeToUse = preferredCalendarTypes[0]; // the most preferred calendar in getCalendarTypeToUse()
196 if ( calendarTypeToUse == null ) { in getCalendarTypeToUse()
197 calendarTypeToUse = "gregorian"; // fallback in getCalendarTypeToUse()
199 return calendarTypeToUse; in getCalendarTypeToUse()
296 String calendarTypeToUse = getCalendarTypeToUse(uLocale); in addCLDRData() local
309 "calendar/" + calendarTypeToUse + "/appendItems", in addCLDRData()
327 "calendar/" + calendarTypeToUse + "/availableFormats", in addCLDRData()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Ddtitvinf.cpp392 const char * calendarTypeToUse = gGregorianTag; // initial default in initializeData() local
403 calendarTypeToUse = calendarType; in initializeData()
422 calTypeBundle = ures_getByKeyWithFallback(calBundle, calendarTypeToUse, NULL, &status); in initializeData()
436 DateIntervalSink sink(*this, calendarTypeToUse); in initializeData()
Ddtptngen.cpp943 CharString calendarTypeToUse; // to be filled in with the type to use, if all goes well in addCLDRData() local
944 getCalendarTypeToUse(locale, calendarTypeToUse, errorCode); in addCLDRData()
955 .append(calendarTypeToUse, errorCode) in addCLDRData()
976 .append(calendarTypeToUse, errorCode) in addCLDRData()
/third_party/node/deps/icu-small/source/i18n/
Ddtitvinf.cpp399 const char * calendarTypeToUse = gGregorianTag; // initial default in initializeData() local
410 calendarTypeToUse = calendarType; in initializeData()
429 calTypeBundle = ures_getByKeyWithFallback(calBundle, calendarTypeToUse, nullptr, &status); in initializeData()
448 DateIntervalSink sink(*this, calendarTypeToUse); in initializeData()
Ddtptngen.cpp1044 CharString calendarTypeToUse; // to be filled in with the type to use, if all goes well in addCLDRData() local
1045 getCalendarTypeToUse(locale, calendarTypeToUse, errorCode); in addCLDRData()
1056 .append(calendarTypeToUse, errorCode) in addCLDRData()
1077 .append(calendarTypeToUse, errorCode) in addCLDRData()
/third_party/skia/third_party/externals/icu/source/i18n/
Ddtitvinf.cpp400 const char * calendarTypeToUse = gGregorianTag; // initial default in initializeData() local
411 calendarTypeToUse = calendarType; in initializeData()
430 calTypeBundle = ures_getByKeyWithFallback(calBundle, calendarTypeToUse, nullptr, &status); in initializeData()
466 DateIntervalSink sink(*this, calendarTypeToUse); in initializeData()
Ddtptngen.cpp1059 CharString calendarTypeToUse; // to be filled in with the type to use, if all goes well in addCLDRData() local
1060 getCalendarTypeToUse(locale, calendarTypeToUse, errorCode); in addCLDRData()
1071 .append(calendarTypeToUse, errorCode) in addCLDRData()
1092 .append(calendarTypeToUse, errorCode) in addCLDRData()
/third_party/icu/icu4c/source/i18n/
Ddtitvinf.cpp400 const char * calendarTypeToUse = gGregorianTag; // initial default in initializeData() local
411 calendarTypeToUse = calendarType; in initializeData()
430 calTypeBundle = ures_getByKeyWithFallback(calBundle, calendarTypeToUse, nullptr, &status); in initializeData()
466 DateIntervalSink sink(*this, calendarTypeToUse); in initializeData()
Ddtptngen.cpp1059 CharString calendarTypeToUse; // to be filled in with the type to use, if all goes well in addCLDRData() local
1060 getCalendarTypeToUse(locale, calendarTypeToUse, errorCode); in addCLDRData()
1071 .append(calendarTypeToUse, errorCode) in addCLDRData()
1092 .append(calendarTypeToUse, errorCode) in addCLDRData()