Home
last modified time | relevance | path

Searched refs:toSkeleton (Results 1 – 25 of 25) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberSkeletonTest.java298 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in defaultTokens()
335 .toSkeleton(); in wildcardCharacters()
347 String skeleton = NumberFormatter.with().roundingMode(mode).toSkeleton(); in roundingModeNames()
433 String toSkeleton = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in perUnitToSkeleton() local
437 msg = toSkeleton + " should contain '" + cas1[1] + "' when constructed from " + in perUnitToSkeleton()
439 assertTrue(msg, toSkeleton.indexOf(cas1[1]) >= 0); in perUnitToSkeleton()
440 msg = toSkeleton + " should contain '" + cas2[1] + "' when constructed from " + in perUnitToSkeleton()
442 assertTrue(msg, toSkeleton.indexOf(cas2[1]) >= 0); in perUnitToSkeleton()
DNumberFormatterApiTest.java1014 assertEquals(msg, normalizedSkeleton, nf.toSkeleton()); in unitSkeletons()
1061 nf.toSkeleton(); in unitSkeletons()
1075 NumberFormatter.with().unit(MeasureUnit.METER_PER_SECOND).toSkeleton()); in unitSkeletons()
1079 … NumberFormatter.with().unit(MeasureUnit.METER).perUnit(MeasureUnit.SECOND).toSkeleton()); in unitSkeletons()
1083 NumberFormatter.with().unit(MeasureUnit.forIdentifier("hectometer")).toSkeleton()); in unitSkeletons()
1090 .toSkeleton()); in unitSkeletons()
1095 NumberFormatter.with().unit(GBP).toSkeleton()); in unitSkeletons()
1099 NumberFormatter.with().unit(GBP).perUnit(MeasureUnit.METER).toSkeleton(); in unitSkeletons()
3879 String k1 = f1.getNumberFormatter().toSkeleton(); in hasSameBehavior()
3880 String k2 = f2.getNumberFormatter().toSkeleton(); in hasSameBehavior()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberSkeletonTest.java301 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in defaultTokens()
338 .toSkeleton(); in wildcardCharacters()
350 String skeleton = NumberFormatter.with().roundingMode(mode).toSkeleton(); in roundingModeNames()
436 String toSkeleton = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in perUnitToSkeleton() local
440 msg = toSkeleton + " should contain '" + cas1[1] + "' when constructed from " + in perUnitToSkeleton()
442 assertTrue(msg, toSkeleton.indexOf(cas1[1]) >= 0); in perUnitToSkeleton()
443 msg = toSkeleton + " should contain '" + cas2[1] + "' when constructed from " + in perUnitToSkeleton()
445 assertTrue(msg, toSkeleton.indexOf(cas2[1]) >= 0); in perUnitToSkeleton()
DNumberFormatterApiTest.java1017 assertEquals(msg, normalizedSkeleton, nf.toSkeleton()); in unitSkeletons()
1064 nf.toSkeleton(); in unitSkeletons()
1078 NumberFormatter.with().unit(MeasureUnit.METER_PER_SECOND).toSkeleton()); in unitSkeletons()
1082 … NumberFormatter.with().unit(MeasureUnit.METER).perUnit(MeasureUnit.SECOND).toSkeleton()); in unitSkeletons()
1086 NumberFormatter.with().unit(MeasureUnit.forIdentifier("hectometer")).toSkeleton()); in unitSkeletons()
1093 .toSkeleton()); in unitSkeletons()
1098 NumberFormatter.with().unit(GBP).toSkeleton()); in unitSkeletons()
1102 NumberFormatter.with().unit(GBP).perUnit(MeasureUnit.METER).toSkeleton(); in unitSkeletons()
3882 String k1 = f1.getNumberFormatter().toSkeleton(); in hasSameBehavior()
3883 String k2 = f2.getNumberFormatter().toSkeleton(); in hasSameBehavior()
[all …]
/external/icu/icu4c/source/test/intltest/
Dnumbertest_skeletons.cpp299 skeletonString, status).toSkeleton(status); in defaultTokens()
351 .toSkeleton(status); in wildcardCharacters()
469 UnicodeString toSkeleton = NumberFormatter::forSkeleton( in perUnitToSkeleton() local
470 skeleton, status).toSkeleton(status); in perUnitToSkeleton()
476 msg.append(toSkeleton) in perUnitToSkeleton()
481 assertTrue(msg, toSkeleton.indexOf(cas1.subtype) >= 0); in perUnitToSkeleton()
484 msg.append(toSkeleton) in perUnitToSkeleton()
489 assertTrue(msg, toSkeleton.indexOf(cas2.subtype) >= 0); in perUnitToSkeleton()
Dnumbertest_api.cpp1059 nf.toSkeleton(status)); in unitSkeletons()
1100 nf.toSkeleton(status); in unitSkeletons()
1108 NumberFormatter::with().unit(METER_PER_SECOND).toSkeleton(status)); in unitSkeletons()
1112 NumberFormatter::with().unit(METER).perUnit(SECOND).toSkeleton(status)); in unitSkeletons()
1118 .toSkeleton(status)); in unitSkeletons()
1125 .toSkeleton(status)); in unitSkeletons()
1131 NumberFormatter::with().unit(GBP).toSkeleton(status)); in unitSkeletons()
1134 NumberFormatter::with().unit(GBP).perUnit(METER).toSkeleton(status); in unitSkeletons()
4005 lnf.toSkeleton(status), in toFormat()
4007 .toSkeleton(status)); in toFormat()
[all …]
Ddcfmapts.cpp1381 lnf->toSkeleton(status); in testInvalidObject()
/external/icu/icu4c/source/i18n/
Dnumber_asformat.cpp43 return fFormatter.toSkeleton(localStatus) == _other->fFormatter.toSkeleton(localStatus); in operator ==()
Dnumber_skeletons.cpp1697 UnicodeString NumberFormatterSettings<Derived>::toSkeleton(UErrorCode& status) const { in toSkeleton() function in NumberFormatterSettings
/external/cldr/tools/java/org/unicode/cldr/util/props/
DUnicodeProperty.java368 switch (toSkeleton(value)) { in binaryValueOrNull()
419 || matcher.test(toSkeleton(value2))) { in getSet()
463 skeleton = toSkeleton(pretty); in Name()
599 return toSkeleton(a).equals(toSkeleton(b)); in equalNames()
613 return toSkeleton(a).compareTo(toSkeleton(b)); in compareNames()
620 public static String toSkeleton(String source) { in toSkeleton() method in UnicodeProperty
804 skeletonNames.put(toSkeleton(name2), sp); in add()
808 skeletonNames.put(toSkeleton((String) it.next()), sp); in add()
815 .get(toSkeleton(propertyAlias)); in getProperty()
1192 this.skeleton = toSkeleton(pattern); in NameMatcher()
[all …]
DUnicodePropertySymbolTable.java138 String[] parts = GC_REMAP.get(UnicodeProperty.toSkeleton(propertyValue));
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DLocalizedNumberFormatterAsFormat.java120 proxy.skeleton = formatter.toSkeleton(); in writeReplace()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DLocalizedNumberFormatterAsFormat.java118 proxy.skeleton = formatter.toSkeleton(); in writeReplace()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberFormatterSettings.java601 public String toSkeleton() { in toSkeleton() method in NumberFormatterSettings
/external/icu/android_icu4j/src/main/java/android/icu/number/
DNumberFormatterSettings.java577 public String toSkeleton() { in toSkeleton() method in NumberFormatterSettings
/external/icu/libicu/cts_headers/unicode/
Dnumberformatter.h2229 UnicodeString toSkeleton(UErrorCode& status) const;
/external/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h2229 UnicodeString toSkeleton(UErrorCode& status) const;
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...
/external/icu/icu4j/tools/build/
Dicu4j62.api3.gz12;ICU4J 62.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j68.api3.gz
Dicu4j65.api3.gz
Dicu4j64.api3.gz
Dicu4j63.api3.gz12;ICU4J 63.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j66.api3.gz
Dicu4j67.api3.gz12;ICU4J 67.1;; 2ST@3.6;PB;NS;NF;NS; ...