Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dreldtfmt.cpp520 LocalUResourceBundlePointer dateTimePatterns( in loadDates() local
525 int32_t patternsSize = ures_getSize(dateTimePatterns.getAlias()); in loadDates()
537 …const UChar *resStr = ures_getStringByIndex(dateTimePatterns.getAlias(), glueIndex, &resStrLen, &s… in loadDates()
Ddtptngen.cpp1262 LocalUResourceBundlePointer dateTimePatterns; in setDateTimeFromCalendar() local
1265dateTimePatterns.adoptInstead(ures_getByKeyWithFallback(calData.getAlias(), fCalendar->getType(), in setDateTimeFromCalendar()
1267 ures_getByKeyWithFallback(dateTimePatterns.getAlias(), DT_DateTimePatternsTag, in setDateTimeFromCalendar()
1268 dateTimePatterns.getAlias(), &status); in setDateTimeFromCalendar()
1271 if (dateTimePatterns.isNull() || status == U_MISSING_RESOURCE_ERROR) { in setDateTimeFromCalendar()
1273dateTimePatterns.adoptInstead(ures_getByKeyWithFallback(calData.getAlias(), DT_DateTimeGregorianTa… in setDateTimeFromCalendar()
1274dateTimePatterns.orphan(), &status)); in setDateTimeFromCalendar()
1275 ures_getByKeyWithFallback(dateTimePatterns.getAlias(), DT_DateTimePatternsTag, in setDateTimeFromCalendar()
1276 dateTimePatterns.getAlias(), &status); in setDateTimeFromCalendar()
1280 if (ures_getSize(dateTimePatterns.getAlias()) <= DateFormat::kDateTime) in setDateTimeFromCalendar()
[all …]
Dsmpdtfmt.cpp669 LocalUResourceBundlePointer dateTimePatterns; in construct() local
673 dateTimePatterns.adoptInstead( in construct()
682 dateTimePatterns.adoptInstead( in construct()
691 if (ures_getSize(dateTimePatterns.getAlias()) <= kDateTime) in construct()
697 setLocaleIDs(ures_getLocaleByType(dateTimePatterns.getAlias(), ULOC_VALID_LOCALE, &status), in construct()
698 ures_getLocaleByType(dateTimePatterns.getAlias(), ULOC_ACTUAL_LOCALE, &status)); in construct()
720 ures_getByIndex(dateTimePatterns.getAlias(), (int32_t)timeStyle, NULL, &status)); in construct()
745 ures_getByIndex(dateTimePatterns.getAlias(), (int32_t)dateStyle, NULL, &status)); in construct()
770 int32_t patternsSize = ures_getSize(dateTimePatterns.getAlias()); in construct()
776 resStr = ures_getStringByIndex(dateTimePatterns.getAlias(), glueIndex, &resStrLen, &status); in construct()
[all …]
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckDates.java879 if (!dateTimePatterns[style].matcher(skeletonCanonical).matches() in checkPattern()
882 int i = RegexUtilities.findMismatch(dateTimePatterns[style], skeletonCanonical); in checkPattern()
889 … new Object[] { dateTimeMessage[style], skeletonPosition, dateTimePatterns[style].pattern() })); in checkPattern()
1153 static final Pattern[] dateTimePatterns = {
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCalendar.java3558 String[] dateTimePatterns = new String[patternsSize]; in getPatternData() local
3564 dateTimePatterns[i] = concatenationPatternRb.getString(); in getPatternData()
3567 dateTimePatterns[i] = concatenationPatternRb.getString(0); in getPatternData()
3572 return new PatternData(dateTimePatterns, dateTimePatternsOverrides); in getPatternData()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCalendar.java3665 String[] dateTimePatterns = new String[patternsSize]; in getPatternData() local
3671 dateTimePatterns[i] = concatenationPatternRb.getString(); in getPatternData()
3674 dateTimePatterns[i] = concatenationPatternRb.getString(0); in getPatternData()
3679 return new PatternData(dateTimePatterns, dateTimePatternsOverrides); in getPatternData()