Home
last modified time | relevance | path

Searched refs:dateTimePatterns (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4c/source/i18n/
Dreldtfmt.cpp482 UResourceBundle *dateTimePatterns = calData.getByKey(DT_DateTimePatternsTag, tempStatus); in loadDates() local
484 int32_t patternsSize = ures_getSize(dateTimePatterns); in loadDates()
513 … const UChar *resStr = ures_getStringByIndex(dateTimePatterns, glueIndex, &resStrLen, &tempStatus); in loadDates()
Dsmpdtfmt.cpp699 UResourceBundle *dateTimePatterns = calData.getByKey(gDateTimePatternsTag, status); in construct() local
704 if (ures_getSize(dateTimePatterns) <= kDateTime) in construct()
710 setLocaleIDs(ures_getLocaleByType(dateTimePatterns, ULOC_VALID_LOCALE, &status), in construct()
711 ures_getLocaleByType(dateTimePatterns, ULOC_ACTUAL_LOCALE, &status)); in construct()
739 currentBundle = ures_getByIndex(dateTimePatterns, (int32_t)timeStyle, NULL, &status); in construct()
771 currentBundle = ures_getByIndex(dateTimePatterns, (int32_t)dateStyle, NULL, &status); in construct()
804 int32_t patternsSize = ures_getSize(dateTimePatterns); in construct()
810 resStr = ures_getStringByIndex(dateTimePatterns, glueIndex, &resStrLen, &status); in construct()
817 currentBundle = ures_getByIndex(dateTimePatterns, (int32_t)timeStyle, NULL, &status); in construct()
843 currentBundle = ures_getByIndex(dateTimePatterns, (int32_t)dateStyle, NULL, &status); in construct()
Ddtptngen.cpp894 UResourceBundle *dateTimePatterns = calData.getByKey(DT_DateTimePatternsTag, status); in setDateTimeFromCalendar() local
897 if (ures_getSize(dateTimePatterns) <= DateFormat::kDateTime) in setDateTimeFromCalendar()
902 …resStr = ures_getStringByIndex(dateTimePatterns, (int32_t)DateFormat::kDateTime, &resStrLen, &stat… in setDateTimeFromCalendar()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSimpleDateFormat.java1173 String[] dateTimePatterns = calData.getDateTimePatterns(); in getDefaultPattern() local
1175 if (dateTimePatterns.length >= 13) in getDefaultPattern()
1179 cachedDefaultPattern = MessageFormat.format(dateTimePatterns[glueIndex], in getDefaultPattern()
1180 new Object[] {dateTimePatterns[SHORT], dateTimePatterns[SHORT + 4]}); in getDefaultPattern()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSimpleDateFormat.java1178 String[] dateTimePatterns = calData.getDateTimePatterns(); in getDefaultPattern() local
1180 if (dateTimePatterns.length >= 13) in getDefaultPattern()
1184 cachedDefaultPattern = MessageFormat.format(dateTimePatterns[glueIndex], in getDefaultPattern()
1185 new Object[] {dateTimePatterns[SHORT], dateTimePatterns[SHORT + 4]}); in getDefaultPattern()