Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalInfo.java571 String calendarTypeToUse = locale.getKeywordValue("calendar"); in setup() local
572 if ( calendarTypeToUse == null ) { in setup()
575 calendarTypeToUse = preferredCalendarTypes[0]; // the most preferred calendar in setup()
577 if ( calendarTypeToUse == null ) { in setup()
578 calendarTypeToUse = "gregorian"; // fallback in setup()
587 … String fallbackPattern = resource.getStringWithFallback(CALENDAR_KEY + "/" + calendarTypeToUse in setup()
594 while (calendarTypeToUse != null) { in setup()
596 if (loadedCalendarTypes.contains(calendarTypeToUse)) { in setup()
597 throw new ICUException("Loop in calendar type fallback: " + calendarTypeToUse); in setup()
601 loadedCalendarTypes.add(calendarTypeToUse); in setup()
[all …]
DDateTimePatternGenerator.java163 String calendarTypeToUse = uLocale.getKeywordValue("calendar"); in getCalendarTypeToUse() local
164 if ( calendarTypeToUse == null ) { in getCalendarTypeToUse()
166 calendarTypeToUse = preferredCalendarTypes[0]; // the most preferred calendar in getCalendarTypeToUse()
168 if ( calendarTypeToUse == null ) { in getCalendarTypeToUse()
169 calendarTypeToUse = "gregorian"; // fallback in getCalendarTypeToUse()
171 return calendarTypeToUse; in getCalendarTypeToUse()
265 String calendarTypeToUse = getCalendarTypeToUse(uLocale); in addCLDRData() local
278 "calendar/" + calendarTypeToUse + "/appendItems", in addCLDRData()
296 "calendar/" + calendarTypeToUse + "/availableFormats", in addCLDRData()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalInfo.java580 String calendarTypeToUse = locale.getKeywordValue("calendar"); in setup() local
581 if ( calendarTypeToUse == null ) { in setup()
584 calendarTypeToUse = preferredCalendarTypes[0]; // the most preferred calendar in setup()
586 if ( calendarTypeToUse == null ) { in setup()
587 calendarTypeToUse = "gregorian"; // fallback in setup()
596 … String fallbackPattern = resource.getStringWithFallback(CALENDAR_KEY + "/" + calendarTypeToUse in setup()
603 while (calendarTypeToUse != null) { in setup()
605 if (loadedCalendarTypes.contains(calendarTypeToUse)) { in setup()
606 throw new ICUException("Loop in calendar type fallback: " + calendarTypeToUse); in setup()
610 loadedCalendarTypes.add(calendarTypeToUse); in setup()
[all …]
DDateTimePatternGenerator.java167 String calendarTypeToUse = uLocale.getKeywordValue("calendar"); in getCalendarTypeToUse() local
168 if ( calendarTypeToUse == null ) { in getCalendarTypeToUse()
170 calendarTypeToUse = preferredCalendarTypes[0]; // the most preferred calendar in getCalendarTypeToUse()
172 if ( calendarTypeToUse == null ) { in getCalendarTypeToUse()
173 calendarTypeToUse = "gregorian"; // fallback in getCalendarTypeToUse()
175 return calendarTypeToUse; in getCalendarTypeToUse()
269 String calendarTypeToUse = getCalendarTypeToUse(uLocale); in addCLDRData() local
282 "calendar/" + calendarTypeToUse + "/appendItems", in addCLDRData()
300 "calendar/" + calendarTypeToUse + "/availableFormats", in addCLDRData()
/external/icu/icu4c/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.cpp863 CharString calendarTypeToUse; // to be filled in with the type to use, if all goes well in addCLDRData() local
864 getCalendarTypeToUse(locale, calendarTypeToUse, errorCode); in addCLDRData()
875 .append(calendarTypeToUse, errorCode) in addCLDRData()
896 .append(calendarTypeToUse, errorCode) in addCLDRData()