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.java568 String calendarTypeToUse = locale.getKeywordValue("calendar"); in setup() local
569 if ( calendarTypeToUse == null ) { in setup()
572 calendarTypeToUse = preferredCalendarTypes[0]; // the most preferred calendar in setup()
574 if ( calendarTypeToUse == null ) { in setup()
575 calendarTypeToUse = "gregorian"; // fallback in setup()
584 … String fallbackPattern = resource.getStringWithFallback(CALENDAR_KEY + "/" + calendarTypeToUse in setup()
591 while (calendarTypeToUse != null) { in setup()
593 if (loadedCalendarTypes.contains(calendarTypeToUse)) { in setup()
594 throw new ICUException("Loop in calendar type fallback: " + calendarTypeToUse); in setup()
598 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()
280 String calendarTypeToUse = getCalendarTypeToUse(uLocale); in addCLDRData() local
293 "calendar/" + calendarTypeToUse + "/appendItems", in addCLDRData()
311 "calendar/" + calendarTypeToUse + "/availableFormats", in addCLDRData()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalInfo.java578 String calendarTypeToUse = locale.getKeywordValue("calendar"); in setup() local
579 if ( calendarTypeToUse == null ) { in setup()
582 calendarTypeToUse = preferredCalendarTypes[0]; // the most preferred calendar in setup()
584 if ( calendarTypeToUse == null ) { in setup()
585 calendarTypeToUse = "gregorian"; // fallback in setup()
594 … String fallbackPattern = resource.getStringWithFallback(CALENDAR_KEY + "/" + calendarTypeToUse in setup()
601 while (calendarTypeToUse != null) { in setup()
603 if (loadedCalendarTypes.contains(calendarTypeToUse)) { in setup()
604 throw new ICUException("Loop in calendar type fallback: " + calendarTypeToUse); in setup()
608 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()
284 String calendarTypeToUse = getCalendarTypeToUse(uLocale); in addCLDRData() local
297 "calendar/" + calendarTypeToUse + "/appendItems", in addCLDRData()
315 "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.cpp947 CharString calendarTypeToUse; // to be filled in with the type to use, if all goes well in addCLDRData() local
948 getCalendarTypeToUse(locale, calendarTypeToUse, errorCode); in addCLDRData()
959 .append(calendarTypeToUse, errorCode) in addCLDRData()
980 .append(calendarTypeToUse, errorCode) in addCLDRData()