Home
last modified time | relevance | path

Searched refs:calendarType (Results 1 – 7 of 7) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateFormatSymbols.java1595 void preEnumerate(String calendarType) { in preEnumerate() argument
1596 currentCalendarType = calendarType; in preEnumerate()
1807 private DateFormatSymbols(ULocale desiredLocale, ICUResourceBundle b, String calendarType) { in DateFormatSymbols() argument
1808 initializeData(desiredLocale, b, calendarType); in DateFormatSymbols()
1821 protected void initializeData(ULocale desiredLocale, ICUResourceBundle b, String calendarType) in initializeData() argument
1831 while (calendarType != null) { in initializeData()
1834 ICUResourceBundle dataForType = b.findWithFallback("calendar/" + calendarType); in initializeData()
1836 if (!"gregorian".equals(calendarType)) { in initializeData()
1837 calendarType = "gregorian"; in initializeData()
1844 calendarSink.preEnumerate(calendarType); in initializeData()
[all …]
DChineseDateFormatSymbols.java111 protected void initializeData(ULocale loc, ICUResourceBundle b, String calendarType) { in initializeData() argument
112 super.initializeData(loc, b, calendarType); in initializeData()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateFormatSymbols.java1637 void preEnumerate(String calendarType) { in preEnumerate() argument
1638 currentCalendarType = calendarType; in preEnumerate()
1849 private DateFormatSymbols(ULocale desiredLocale, ICUResourceBundle b, String calendarType) { in DateFormatSymbols() argument
1850 initializeData(desiredLocale, b, calendarType); in DateFormatSymbols()
1863 protected void initializeData(ULocale desiredLocale, ICUResourceBundle b, String calendarType) in initializeData() argument
1873 while (calendarType != null) { in initializeData()
1876 ICUResourceBundle dataForType = b.findWithFallback("calendar/" + calendarType); in initializeData()
1878 if (!"gregorian".equals(calendarType)) { in initializeData()
1879 calendarType = "gregorian"; in initializeData()
1886 calendarSink.preEnumerate(calendarType); in initializeData()
[all …]
DChineseDateFormatSymbols.java109 protected void initializeData(ULocale loc, ICUResourceBundle b, String calendarType) { in initializeData() argument
110 super.initializeData(loc, b, calendarType); in initializeData()
/external/icu/icu4c/source/i18n/
Ddtitvinf.cpp309 static void getCalendarTypeFromPath(const UnicodeString &path, UnicodeString &calendarType, in getCalendarTypeFromPath()
318 path.extractBetween(PATH_PREFIX_LENGTH, path.length() - PATH_SUFFIX_LENGTH, calendarType); in getCalendarTypeFromPath()
393 …char calendarType[ULOC_KEYWORDS_CAPACITY]; // to be filled in with the type to use, if all… in initializeData() local
400 int32_t calendarTypeLen = uloc_getKeywordValue(localeWithCalendarKey, "calendar", calendarType, in initializeData()
403 calendarTypeToUse = calendarType; in initializeData()
Ddtfmtsym.cpp1535 void preEnumerate(const UnicodeString &calendarType) { in preEnumerate()
1536 currentCalendarType = calendarType; in preEnumerate()
2116 UnicodeString calendarType((type != NULL && *type != '\0')? type : gGregorianTag, -1, US_INV); in initializeData() local
2117 while (!calendarType.isBogus()) { in initializeData()
2119 calendarTypeBuffer.appendInvariantChars(calendarType, status); in initializeData()
2129 calendarType.setTo(FALSE, kGregorianTagUChar, UPRV_LENGTHOF(kGregorianTagUChar)); in initializeData()
2137 calendarSink.preEnumerate(calendarType); in initializeData()
2148 calendarType = calendarSink.nextCalendarType; in initializeData()
2151 if (calendarType.isBogus()) { in initializeData()
2152 calendarType.setTo(FALSE, kGregorianTagUChar, UPRV_LENGTHOF(kGregorianTagUChar)); in initializeData()
Ddtptngen.cpp776 char calendarType[ULOC_KEYWORDS_CAPACITY]; in getCalendarTypeToUse() local
780 calendarType, in getCalendarTypeToUse()
787 destination.clear().append(calendarType, -1, err); in getCalendarTypeToUse()