Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Ddtptngen.cpp1258 LocalUResourceBundlePointer dateTimePatterns; in setDateTimeFromCalendar() local
1261dateTimePatterns.adoptInstead(ures_getByKeyWithFallback(calData.getAlias(), fCalendar->getType(), in setDateTimeFromCalendar()
1263 ures_getByKeyWithFallback(dateTimePatterns.getAlias(), DT_DateTimePatternsTag, in setDateTimeFromCalendar()
1264 dateTimePatterns.getAlias(), &status); in setDateTimeFromCalendar()
1267 if (dateTimePatterns.isNull() || status == U_MISSING_RESOURCE_ERROR) { in setDateTimeFromCalendar()
1269dateTimePatterns.adoptInstead(ures_getByKeyWithFallback(calData.getAlias(), DT_DateTimeGregorianTa… in setDateTimeFromCalendar()
1270dateTimePatterns.orphan(), &status)); in setDateTimeFromCalendar()
1271 ures_getByKeyWithFallback(dateTimePatterns.getAlias(), DT_DateTimePatternsTag, in setDateTimeFromCalendar()
1272 dateTimePatterns.getAlias(), &status); in setDateTimeFromCalendar()
1276 if (ures_getSize(dateTimePatterns.getAlias()) <= DateFormat::kDateTime) in setDateTimeFromCalendar()
[all …]
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()
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 …]
/third_party/node/deps/icu-small/source/i18n/
Ddtptngen.cpp1363 LocalUResourceBundlePointer dateTimePatterns; in setDateTimeFromCalendar() local
1366dateTimePatterns.adoptInstead(ures_getByKeyWithFallback(calData.getAlias(), fCalendar->getType(), in setDateTimeFromCalendar()
1368 ures_getByKeyWithFallback(dateTimePatterns.getAlias(), DT_DateTimePatternsTag, in setDateTimeFromCalendar()
1369 dateTimePatterns.getAlias(), &status); in setDateTimeFromCalendar()
1372 if (dateTimePatterns.isNull() || status == U_MISSING_RESOURCE_ERROR) { in setDateTimeFromCalendar()
1374dateTimePatterns.adoptInstead(ures_getByKeyWithFallback(calData.getAlias(), DT_DateTimeGregorianTa… in setDateTimeFromCalendar()
1375dateTimePatterns.orphan(), &status)); in setDateTimeFromCalendar()
1376 ures_getByKeyWithFallback(dateTimePatterns.getAlias(), DT_DateTimePatternsTag, in setDateTimeFromCalendar()
1377 dateTimePatterns.getAlias(), &status); in setDateTimeFromCalendar()
1381 if (ures_getSize(dateTimePatterns.getAlias()) <= DateFormat::kDateTime) in setDateTimeFromCalendar()
[all …]
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()
Dsmpdtfmt.cpp705 LocalUResourceBundlePointer dateTimePatterns; in construct() local
709 dateTimePatterns.adoptInstead( in construct()
718 dateTimePatterns.adoptInstead( in construct()
727 if (ures_getSize(dateTimePatterns.getAlias()) <= kDateTime) in construct()
733 setLocaleIDs(ures_getLocaleByType(dateTimePatterns.getAlias(), ULOC_VALID_LOCALE, &status), in construct()
734 ures_getLocaleByType(dateTimePatterns.getAlias(), ULOC_ACTUAL_LOCALE, &status)); in construct()
795 … ures_getByIndex(dateTimePatterns.getAlias(), (int32_t)timeStyle, NULL, &status)); in construct()
821 ures_getByIndex(dateTimePatterns.getAlias(), (int32_t)dateStyle, NULL, &status)); in construct()
846 int32_t patternsSize = ures_getSize(dateTimePatterns.getAlias()); in construct()
852 resStr = ures_getStringByIndex(dateTimePatterns.getAlias(), glueIndex, &resStrLen, &status); in construct()
[all …]
/third_party/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 …]
/third_party/skia/third_party/externals/icu/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 …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCalendar.java3623 String[] dateTimePatterns = new String[patternsSize]; in getPatternData() local
3651 dateTimePatterns[i] = dtpg.getBestPattern(TIME_SKELETONS[i]); in getPatternData()
3661 dateTimePatterns[i] = concatenationPatternRb.getString(); in getPatternData()
3664 dateTimePatterns[i] = concatenationPatternRb.getString(0); in getPatternData()
3669 return new PatternData(dateTimePatterns, dateTimePatternsOverrides); in getPatternData()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DCalendar.java3509 String[] dateTimePatterns = new String[patternsSize]; in getPatternData() local
3515 dateTimePatterns[i] = concatenationPatternRb.getString(); in getPatternData()
3518 dateTimePatterns[i] = concatenationPatternRb.getString(0); in getPatternData()
3523 return new PatternData(dateTimePatterns, dateTimePatternsOverrides); in getPatternData()