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.cpp1378 LocalUResourceBundlePointer dateTimePatterns; in setDateTimeFromCalendar() local
1381dateTimePatterns.adoptInstead(ures_getByKeyWithFallback(calData.getAlias(), fCalendar->getType(), in setDateTimeFromCalendar()
1383 ures_getByKeyWithFallback(dateTimePatterns.getAlias(), DT_DateTimePatternsTag, in setDateTimeFromCalendar()
1384 dateTimePatterns.getAlias(), &status); in setDateTimeFromCalendar()
1387 if (dateTimePatterns.isNull() || status == U_MISSING_RESOURCE_ERROR) { in setDateTimeFromCalendar()
1389dateTimePatterns.adoptInstead(ures_getByKeyWithFallback(calData.getAlias(), DT_DateTimeGregorianTa… in setDateTimeFromCalendar()
1390dateTimePatterns.orphan(), &status)); in setDateTimeFromCalendar()
1391 ures_getByKeyWithFallback(dateTimePatterns.getAlias(), DT_DateTimePatternsTag, in setDateTimeFromCalendar()
1392 dateTimePatterns.getAlias(), &status); in setDateTimeFromCalendar()
1396 if (ures_getSize(dateTimePatterns.getAlias()) <= DateFormat::kDateTime) in setDateTimeFromCalendar()
[all …]
Dsmpdtfmt.cpp686 LocalUResourceBundlePointer dateTimePatterns; in construct() local
690 dateTimePatterns.adoptInstead( in construct()
699 dateTimePatterns.adoptInstead( in construct()
708 if (ures_getSize(dateTimePatterns.getAlias()) <= kDateTime) in construct()
714 setLocaleIDs(ures_getLocaleByType(dateTimePatterns.getAlias(), ULOC_VALID_LOCALE, &status), in construct()
715 ures_getLocaleByType(dateTimePatterns.getAlias(), ULOC_ACTUAL_LOCALE, &status)); in construct()
776 … ures_getByIndex(dateTimePatterns.getAlias(), (int32_t)timeStyle, NULL, &status)); in construct()
802 ures_getByIndex(dateTimePatterns.getAlias(), (int32_t)dateStyle, NULL, &status)); in construct()
827 int32_t patternsSize = ures_getSize(dateTimePatterns.getAlias()); in construct()
833 resStr = ures_getStringByIndex(dateTimePatterns.getAlias(), glueIndex, &resStrLen, &status); in construct()
[all …]
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckDates.java801 if (!dateTimePatterns[style].matcher(skeletonCanonical).matches() in checkPattern()
804 int i = RegexUtilities.findMismatch(dateTimePatterns[style], skeletonCanonical); in checkPattern()
811 … new Object[] { dateTimeMessage[style], skeletonPosition, dateTimePatterns[style].pattern() })); in checkPattern()
1075 static final Pattern[] dateTimePatterns = {
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCalendar.java3566 String[] dateTimePatterns = new String[patternsSize]; in getPatternData() local
3594 dateTimePatterns[i] = dtpg.getBestPattern(TIME_SKELETONS[i]); in getPatternData()
3604 dateTimePatterns[i] = concatenationPatternRb.getString(); in getPatternData()
3607 dateTimePatterns[i] = concatenationPatternRb.getString(0); in getPatternData()
3612 return new PatternData(dateTimePatterns, dateTimePatternsOverrides); in getPatternData()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCalendar.java3673 String[] dateTimePatterns = new String[patternsSize]; in getPatternData() local
3701 dateTimePatterns[i] = dtpg.getBestPattern(TIME_SKELETONS[i]); in getPatternData()
3711 dateTimePatterns[i] = concatenationPatternRb.getString(); in getPatternData()
3714 dateTimePatterns[i] = concatenationPatternRb.getString(0); in getPatternData()
3719 return new PatternData(dateTimePatterns, dateTimePatternsOverrides); in getPatternData()