/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DateIntervalFormat.java | 418 final String skeleton; field in DateIntervalFormat.SkeletonAndItsBestMatch 420 SkeletonAndItsBestMatch(String skeleton, String bestMatch) { in SkeletonAndItsBestMatch() argument 421 this.skeleton = skeleton; in SkeletonAndItsBestMatch() 517 public DateIntervalFormat(String skeleton, DateIntervalInfo dtItvInfo, in DateIntervalFormat() argument 523 fSkeleton = skeleton; in DateIntervalFormat() 531 private DateIntervalFormat(String skeleton, ULocale locale, in DateIntervalFormat() argument 535 fSkeleton = skeleton; in DateIntervalFormat() 557 getInstance(String skeleton) in getInstance() argument 560 return getInstance(skeleton, ULocale.getDefault(Category.FORMAT)); in getInstance() 577 getInstance(String skeleton, Locale locale) in getInstance() argument [all …]
|
D | DateIntervalInfo.java | 732 public void setIntervalPattern(String skeleton, in setIntervalPattern() argument 746 PatternInfo ptnInfo = setIntervalPatternInternally(skeleton, in setIntervalPattern() 750 setIntervalPattern(skeleton, in setIntervalPattern() 753 setIntervalPattern(skeleton, in setIntervalPattern() 758 setIntervalPattern(skeleton, in setIntervalPattern() 778 private PatternInfo setIntervalPatternInternally(String skeleton, in setIntervalPatternInternally() argument 781 Map<String, PatternInfo> patternsOfOneSkeleton = fIntervalPatterns.get(skeleton); in setIntervalPatternInternally() 802 fIntervalPatterns.put(skeleton, patternsOfOneSkeleton); in setIntervalPatternInternally() 815 private void setIntervalPattern(String skeleton, in setIntervalPattern() argument 818 Map<String, PatternInfo> patternsOfOneSkeleton = fIntervalPatterns.get(skeleton); in setIntervalPattern() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | DateIntervalFormat.java | 404 final String skeleton; field in DateIntervalFormat.SkeletonAndItsBestMatch 406 SkeletonAndItsBestMatch(String skeleton, String bestMatch) { in SkeletonAndItsBestMatch() argument 407 this.skeleton = skeleton; in SkeletonAndItsBestMatch() 500 public DateIntervalFormat(String skeleton, DateIntervalInfo dtItvInfo, in DateIntervalFormat() argument 506 fSkeleton = skeleton; in DateIntervalFormat() 514 private DateIntervalFormat(String skeleton, ULocale locale, in DateIntervalFormat() argument 518 fSkeleton = skeleton; in DateIntervalFormat() 539 getInstance(String skeleton) in getInstance() argument 542 return getInstance(skeleton, ULocale.getDefault(Category.FORMAT)); in getInstance() 558 getInstance(String skeleton, Locale locale) in getInstance() argument [all …]
|
D | DateIntervalInfo.java | 715 public void setIntervalPattern(String skeleton, in setIntervalPattern() argument 729 PatternInfo ptnInfo = setIntervalPatternInternally(skeleton, in setIntervalPattern() 733 setIntervalPattern(skeleton, in setIntervalPattern() 736 setIntervalPattern(skeleton, in setIntervalPattern() 741 setIntervalPattern(skeleton, in setIntervalPattern() 761 private PatternInfo setIntervalPatternInternally(String skeleton, in setIntervalPatternInternally() argument 764 Map<String, PatternInfo> patternsOfOneSkeleton = fIntervalPatterns.get(skeleton); in setIntervalPatternInternally() 785 fIntervalPatterns.put(skeleton, patternsOfOneSkeleton); in setIntervalPatternInternally() 798 private void setIntervalPattern(String skeleton, in setIntervalPattern() argument 801 Map<String, PatternInfo> patternsOfOneSkeleton = fIntervalPatterns.get(skeleton); in setIntervalPattern() [all …]
|
/third_party/icu/icu4c/source/test/intltest/ |
D | numbertest_skeletons.cpp | 324 const char16_t* skeleton; in flexibleSeparators() member 332 UnicodeString skeletonString(cas.skeleton); in flexibleSeparators() 434 UnicodeString skeleton(u"measure-unit/"); in perUnitInArabic() local 435 skeleton += cas1.type; in perUnitInArabic() 436 skeleton += u"-"; in perUnitInArabic() 437 skeleton += cas1.subtype; in perUnitInArabic() 438 skeleton += u" "; in perUnitInArabic() 439 skeleton += u"per-measure-unit/"; in perUnitInArabic() 440 skeleton += cas2.type; in perUnitInArabic() 441 skeleton += u"-"; in perUnitInArabic() [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | NumberSkeletonTest.java | 311 for (String skeleton : cases) { in defaultTokens() 312 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in defaultTokens() 313 … assertEquals("Skeleton should become empty when normalized: " + skeleton, "", normalized); in defaultTokens() 326 String skeleton = cas[0]; in flexibleSeparators() local 328 … String actual = NumberFormatter.forSkeleton(skeleton).locale(ULocale.ENGLISH).format(5142.3) in flexibleSeparators() 330 assertEquals(skeleton, expected, actual); in flexibleSeparators() 360 String skeleton = NumberFormatter.with().roundingMode(mode).toSkeleton(); in roundingModeNames() local 362 assertEquals(mode.toString(), modeString, skeleton.substring(14)); in roundingModeNames() 417 String skeleton = "measure-unit/"; in perUnitInArabic() local 418 … skeleton += cas1[0] + "-" + cas1[1] + " per-measure-unit/" + cas2[0] + "-" + cas2[1]; in perUnitInArabic() [all …]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | dtitvinf.cpp | 86 DateIntervalInfo::setIntervalPattern(const UnicodeString& skeleton, in setIntervalPattern() argument 92 setIntervalPatternInternally(skeleton, UCAL_AM_PM, intervalPattern, status); in setIntervalPattern() 93 setIntervalPatternInternally(skeleton, UCAL_HOUR, intervalPattern, status); in setIntervalPattern() 96 setIntervalPatternInternally(skeleton, UCAL_DATE, intervalPattern, status); in setIntervalPattern() 98 setIntervalPatternInternally(skeleton, lrgDiffCalUnit, intervalPattern, status); in setIntervalPattern() 182 DateIntervalInfo::getIntervalPattern(const UnicodeString& skeleton, in getIntervalPattern() argument 190 const UnicodeString* patternsOfOneSkeleton = (UnicodeString*) fIntervalPatterns->get(skeleton); in getIntervalPattern() 364 UnicodeString skeleton(currentSkeleton, -1, US_INV); in setIntervalPatternIfAbsent() local 366 (UnicodeString*)(dateIntervalInfo.fIntervalPatterns->get(skeleton)); in setIntervalPatternIfAbsent() 370 dateIntervalInfo.setIntervalPatternInternally(skeleton, lrgDiffCalUnit, in setIntervalPatternIfAbsent() [all …]
|
D | udatpg.cpp | 60 const UChar *skeleton, int32_t length, in udatpg_getBestPattern() argument 63 return udatpg_getBestPatternWithOptions(dtpg, skeleton, length, in udatpg_getBestPattern() 70 const UChar *skeleton, int32_t length, in udatpg_getBestPatternWithOptions() argument 77 if(skeleton==NULL && length!=0) { in udatpg_getBestPatternWithOptions() 81 UnicodeString skeletonString((UBool)(length<0), skeleton, length); in udatpg_getBestPatternWithOptions() 89 UChar *skeleton, int32_t capacity, in udatpg_getSkeleton() argument 101 return result.extract(skeleton, capacity, *pErrorCode); in udatpg_getSkeleton() 107 UChar *skeleton, int32_t capacity, in udatpg_getBaseSkeleton() argument 119 return result.extract(skeleton, capacity, *pErrorCode); in udatpg_getBaseSkeleton() 240 const UChar *skeleton, int32_t skeletonLength, in udatpg_replaceFieldTypes() argument [all …]
|
D | dtitvfmt.cpp | 89 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 91 return createInstance(skeleton, Locale::getDefault(), status); in createInstance() 96 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 103 skeleton.extract(0, skeleton.length(), result, "UTF-8"); in createInstance() 116 return create(locale, dtitvinf, &skeleton, status); in createInstance() 122 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 125 return createInstance(skeleton, Locale::getDefault(), dtitvinf, status); in createInstance() 130 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 135 return create(locale, ptn, &skeleton, status); in createInstance() 665 const UnicodeString* skeleton, in DateIntervalFormat() argument [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/ |
D | NumberSkeletonTest.java | 300 for (String skeleton : cases) { in defaultTokens() 301 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in defaultTokens() 302 … assertEquals("Skeleton should become empty when normalized: " + skeleton, "", normalized); in defaultTokens() 315 String skeleton = cas[0]; in flexibleSeparators() local 317 … String actual = NumberFormatter.forSkeleton(skeleton).locale(ULocale.ENGLISH).format(5142.3) in flexibleSeparators() 319 assertEquals(skeleton, expected, actual); in flexibleSeparators() 350 String skeleton = NumberFormatter.with().roundingMode(mode).toSkeleton(); in roundingModeNames() local 352 assertEquals(mode.toString(), modeString, skeleton.substring(14)); in roundingModeNames() 407 String skeleton = "measure-unit/"; in perUnitInArabic() local 408 … skeleton += cas1[0] + "-" + cas1[1] + " per-measure-unit/" + cas2[0] + "-" + cas2[1]; in perUnitInArabic() [all …]
|
/third_party/icu/icu4c/source/i18n/ |
D | dtitvinf.cpp | 87 DateIntervalInfo::setIntervalPattern(const UnicodeString& skeleton, in setIntervalPattern() argument 93 setIntervalPatternInternally(skeleton, UCAL_AM_PM, intervalPattern, status); in setIntervalPattern() 94 setIntervalPatternInternally(skeleton, UCAL_HOUR, intervalPattern, status); in setIntervalPattern() 97 setIntervalPatternInternally(skeleton, UCAL_DATE, intervalPattern, status); in setIntervalPattern() 99 setIntervalPatternInternally(skeleton, lrgDiffCalUnit, intervalPattern, status); in setIntervalPattern() 183 DateIntervalInfo::getIntervalPattern(const UnicodeString& skeleton, in getIntervalPattern() argument 191 const UnicodeString* patternsOfOneSkeleton = (UnicodeString*) fIntervalPatterns->get(skeleton); in getIntervalPattern() 365 UnicodeString skeleton(currentSkeleton, -1, US_INV); in setIntervalPatternIfAbsent() local 367 (UnicodeString*)(dateIntervalInfo.fIntervalPatterns->get(skeleton)); in setIntervalPatternIfAbsent() 371 dateIntervalInfo.setIntervalPatternInternally(skeleton, lrgDiffCalUnit, in setIntervalPatternIfAbsent() [all …]
|
D | udatpg.cpp | 60 const UChar *skeleton, int32_t length, in udatpg_getBestPattern() argument 63 return udatpg_getBestPatternWithOptions(dtpg, skeleton, length, in udatpg_getBestPattern() 70 const UChar *skeleton, int32_t length, in udatpg_getBestPatternWithOptions() argument 77 if(skeleton==NULL && length!=0) { in udatpg_getBestPatternWithOptions() 81 UnicodeString skeletonString((UBool)(length<0), skeleton, length); in udatpg_getBestPatternWithOptions() 89 UChar *skeleton, int32_t capacity, in udatpg_getSkeleton() argument 101 return result.extract(skeleton, capacity, *pErrorCode); in udatpg_getSkeleton() 107 UChar *skeleton, int32_t capacity, in udatpg_getBaseSkeleton() argument 119 return result.extract(skeleton, capacity, *pErrorCode); in udatpg_getBaseSkeleton() 240 const UChar *skeleton, int32_t skeletonLength, in udatpg_replaceFieldTypes() argument [all …]
|
D | dtitvfmt.cpp | 89 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 91 return createInstance(skeleton, Locale::getDefault(), status); in createInstance() 96 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 103 skeleton.extract(0, skeleton.length(), result, "UTF-8"); in createInstance() 116 return create(locale, dtitvinf, &skeleton, status); in createInstance() 122 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 125 return createInstance(skeleton, Locale::getDefault(), dtitvinf, status); in createInstance() 130 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 135 return create(locale, ptn, &skeleton, status); in createInstance() 665 const UnicodeString* skeleton, in DateIntervalFormat() argument [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | dtitvinf.cpp | 87 DateIntervalInfo::setIntervalPattern(const UnicodeString& skeleton, in setIntervalPattern() argument 93 setIntervalPatternInternally(skeleton, UCAL_AM_PM, intervalPattern, status); in setIntervalPattern() 94 setIntervalPatternInternally(skeleton, UCAL_HOUR, intervalPattern, status); in setIntervalPattern() 97 setIntervalPatternInternally(skeleton, UCAL_DATE, intervalPattern, status); in setIntervalPattern() 99 setIntervalPatternInternally(skeleton, lrgDiffCalUnit, intervalPattern, status); in setIntervalPattern() 183 DateIntervalInfo::getIntervalPattern(const UnicodeString& skeleton, in getIntervalPattern() argument 191 const UnicodeString* patternsOfOneSkeleton = (UnicodeString*) fIntervalPatterns->get(skeleton); in getIntervalPattern() 365 UnicodeString skeleton(currentSkeleton, -1, US_INV); in setIntervalPatternIfAbsent() local 367 (UnicodeString*)(dateIntervalInfo.fIntervalPatterns->get(skeleton)); in setIntervalPatternIfAbsent() 371 dateIntervalInfo.setIntervalPatternInternally(skeleton, lrgDiffCalUnit, in setIntervalPatternIfAbsent() [all …]
|
D | udatpg.cpp | 60 const UChar *skeleton, int32_t length, in udatpg_getBestPattern() argument 63 return udatpg_getBestPatternWithOptions(dtpg, skeleton, length, in udatpg_getBestPattern() 70 const UChar *skeleton, int32_t length, in udatpg_getBestPatternWithOptions() argument 77 if(skeleton==NULL && length!=0) { in udatpg_getBestPatternWithOptions() 81 UnicodeString skeletonString((UBool)(length<0), skeleton, length); in udatpg_getBestPatternWithOptions() 89 UChar *skeleton, int32_t capacity, in udatpg_getSkeleton() argument 101 return result.extract(skeleton, capacity, *pErrorCode); in udatpg_getSkeleton() 107 UChar *skeleton, int32_t capacity, in udatpg_getBaseSkeleton() argument 119 return result.extract(skeleton, capacity, *pErrorCode); in udatpg_getBaseSkeleton() 240 const UChar *skeleton, int32_t skeletonLength, in udatpg_replaceFieldTypes() argument [all …]
|
D | dtitvfmt.cpp | 89 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 91 return createInstance(skeleton, Locale::getDefault(), status); in createInstance() 96 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 103 skeleton.extract(0, skeleton.length(), result, "UTF-8"); in createInstance() 116 return create(locale, dtitvinf, &skeleton, status); in createInstance() 122 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 125 return createInstance(skeleton, Locale::getDefault(), dtitvinf, status); in createInstance() 130 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 135 return create(locale, ptn, &skeleton, status); in createInstance() 665 const UnicodeString* skeleton, in DateIntervalFormat() argument [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | dtitvfmt.cpp | 76 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 78 return createInstance(skeleton, Locale::getDefault(), status); in createInstance() 83 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 90 skeleton.extract(0, skeleton.length(), result, "UTF-8"); in createInstance() 99 return create(locale, dtitvinf, &skeleton, status); in createInstance() 105 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 108 return createInstance(skeleton, Locale::getDefault(), dtitvinf, status); in createInstance() 113 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 118 return create(locale, ptn, &skeleton, status); in createInstance() 504 const UnicodeString* skeleton, in DateIntervalFormat() argument [all …]
|
D | udatpg.cpp | 60 const UChar *skeleton, int32_t length, in udatpg_getBestPattern() argument 63 return udatpg_getBestPatternWithOptions(dtpg, skeleton, length, in udatpg_getBestPattern() 70 const UChar *skeleton, int32_t length, in udatpg_getBestPatternWithOptions() argument 77 if(skeleton==NULL && length!=0) { in udatpg_getBestPatternWithOptions() 81 UnicodeString skeletonString((UBool)(length<0), skeleton, length); in udatpg_getBestPatternWithOptions() 89 UChar *skeleton, int32_t capacity, in udatpg_getSkeleton() argument 101 return result.extract(skeleton, capacity, *pErrorCode); in udatpg_getSkeleton() 107 UChar *skeleton, int32_t capacity, in udatpg_getBaseSkeleton() argument 119 return result.extract(skeleton, capacity, *pErrorCode); in udatpg_getBaseSkeleton() 240 const UChar *skeleton, int32_t skeletonLength, in udatpg_replaceFieldTypes() argument [all …]
|
D | dtitvinf.cpp | 84 DateIntervalInfo::setIntervalPattern(const UnicodeString& skeleton, in setIntervalPattern() argument 90 setIntervalPatternInternally(skeleton, UCAL_AM_PM, intervalPattern, status); in setIntervalPattern() 91 setIntervalPatternInternally(skeleton, UCAL_HOUR, intervalPattern, status); in setIntervalPattern() 94 setIntervalPatternInternally(skeleton, UCAL_DATE, intervalPattern, status); in setIntervalPattern() 96 setIntervalPatternInternally(skeleton, lrgDiffCalUnit, intervalPattern, status); in setIntervalPattern() 180 DateIntervalInfo::getIntervalPattern(const UnicodeString& skeleton, in getIntervalPattern() argument 188 const UnicodeString* patternsOfOneSkeleton = (UnicodeString*) fIntervalPatterns->get(skeleton); in getIntervalPattern() 357 UnicodeString skeleton(currentSkeleton, -1, US_INV); in setIntervalPatternIfAbsent() local 359 (UnicodeString*)(dateIntervalInfo.fIntervalPatterns->get(skeleton)); in setIntervalPatternIfAbsent() 363 dateIntervalInfo.setIntervalPatternInternally(skeleton, lrgDiffCalUnit, in setIntervalPatternIfAbsent() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/ |
D | dtitvfmt.h | 239 const UnicodeString& skeleton, 277 const UnicodeString& skeleton, 297 const UnicodeString& skeleton, 342 const UnicodeString& skeleton, 643 const UnicodeString* skeleton, UErrorCode& status); 660 const UnicodeString* skeleton, 767 const UnicodeString& skeleton, 796 static void U_EXPORT2 getDateTimeSkeleton(const UnicodeString& skeleton, 857 const UnicodeString* skeleton, 921 const UnicodeString& skeleton);
|
/third_party/icu/icu4j/samples/src/com/ibm/icu/samples/text/dateintervalformat/ |
D | DateIntervalFormatSample.java | 59 for (String skeleton:skeletons) { in dtitvfmtPreDefined() 60 System.out.printf("%-15s%-35s%-35s", skeleton,date[i].toString(), date[i+1].toString()); in dtitvfmtPreDefined() 61 … DateIntervalFormat dtitvfmtEn = DateIntervalFormat.getInstance(skeleton, ULocale.ENGLISH); in dtitvfmtPreDefined() 62 … DateIntervalFormat dtitvfmtJa = DateIntervalFormat.getInstance(skeleton, ULocale.JAPANESE); in dtitvfmtPreDefined() 106 for (String skeleton:skeletons){ in dtitvfmtCustomized() 108 System.out.printf("%-15s%-35s%-35s", skeleton,date[i].toString(), date[i+1].toString()); in dtitvfmtCustomized() 109 … DateIntervalFormat dtitvfmtEn = DateIntervalFormat.getInstance(skeleton,ULocale.ENGLISH,dtitvinf); in dtitvfmtCustomized() 110 …DateIntervalFormat dtitvfmtJa = DateIntervalFormat.getInstance(skeleton,ULocale.JAPANESE,dtitvinf); in dtitvfmtCustomized()
|
/third_party/icu/icu4c/source/i18n/unicode/ |
D | dtitvfmt.h | 317 const UnicodeString& skeleton, 355 const UnicodeString& skeleton, 375 const UnicodeString& skeleton, 420 const UnicodeString& skeleton, 783 const UnicodeString* skeleton, UErrorCode& status); 800 const UnicodeString* skeleton, 894 const UnicodeString& skeleton, 908 UnicodeString normalizeHourMetacharacters(const UnicodeString& skeleton) const; 936 static void U_EXPORT2 getDateTimeSkeleton(const UnicodeString& skeleton, 997 const UnicodeString* skeleton, [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
D | dtitvfmt.h | 317 const UnicodeString& skeleton, 355 const UnicodeString& skeleton, 375 const UnicodeString& skeleton, 420 const UnicodeString& skeleton, 783 const UnicodeString* skeleton, UErrorCode& status); 800 const UnicodeString* skeleton, 894 const UnicodeString& skeleton, 908 UnicodeString normalizeHourMetacharacters(const UnicodeString& skeleton) const; 936 static void U_EXPORT2 getDateTimeSkeleton(const UnicodeString& skeleton, 997 const UnicodeString* skeleton, [all …]
|
/third_party/node/deps/icu-small/source/i18n/unicode/ |
D | dtitvfmt.h | 317 const UnicodeString& skeleton, 355 const UnicodeString& skeleton, 375 const UnicodeString& skeleton, 420 const UnicodeString& skeleton, 781 const UnicodeString* skeleton, UErrorCode& status); 798 const UnicodeString* skeleton, 892 const UnicodeString& skeleton, 906 UnicodeString normalizeHourMetacharacters(const UnicodeString& skeleton) const; 934 static void U_EXPORT2 getDateTimeSkeleton(const UnicodeString& skeleton, 995 const UnicodeString* skeleton, [all …]
|
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/ |
D | FormatSpec.java | 308 StringBuilder skeleton = new StringBuilder(); 325 skeleton.append(escapeGroupNumber(groups.size())); 351 skeleton.append(escapeGroupNumber(groups.size())); 363 skeleton.append(ESCAPED_NATIONAL_PREFIX); 370 skeleton.append(ESCAPED_CARRIER_CODE); 381 skeleton.append(c); 398 skeleton.toString()); 425 abstract String skeleton(); 473 String format = "$" + (fgIndex + 1) + skeleton().substring(getSuffixStart()); 500 String prefix = skeleton().substring(0, getSuffixStart()); [all …]
|