Home
last modified time | relevance | path

Searched refs:ConstantAffixModifier (Results 1 – 10 of 10) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DConstantAffixModifier.java12 public class ConstantAffixModifier implements Modifier { class
15 public static final ConstantAffixModifier EMPTY = new ConstantAffixModifier();
39 public ConstantAffixModifier(String prefix, String suffix, Field field, boolean strong) { in ConstantAffixModifier() method in ConstantAffixModifier
49 public ConstantAffixModifier() { in ConstantAffixModifier() method in ConstantAffixModifier
93 if (!(other instanceof ConstantAffixModifier)) { in semanticallyEquivalent()
96 ConstantAffixModifier _other = (ConstantAffixModifier) other; in semanticallyEquivalent()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DConstantAffixModifier.java10 public class ConstantAffixModifier implements Modifier { class
13 public static final ConstantAffixModifier EMPTY = new ConstantAffixModifier();
37 public ConstantAffixModifier(String prefix, String suffix, Field field, boolean strong) { in ConstantAffixModifier() method in ConstantAffixModifier
47 public ConstantAffixModifier() { in ConstantAffixModifier() method in ConstantAffixModifier
91 if (!(other instanceof ConstantAffixModifier)) { in semanticallyEquivalent()
94 ConstantAffixModifier _other = (ConstantAffixModifier) other; in semanticallyEquivalent()
/external/icu/icu4c/source/i18n/
Dnumber_modifiers.cpp72 int32_t ConstantAffixModifier::apply(NumberStringBuilder &output, int leftIndex, int rightIndex, in apply()
80 int32_t ConstantAffixModifier::getPrefixLength() const { in getPrefixLength()
84 int32_t ConstantAffixModifier::getCodePointCount() const { in getCodePointCount()
88 bool ConstantAffixModifier::isStrong() const { in isStrong()
92 bool ConstantAffixModifier::containsField(UNumberFormatFields field) const { in containsField()
99 void ConstantAffixModifier::getParameters(Parameters& output) const { in getParameters()
105 bool ConstantAffixModifier::semanticallyEquivalent(const Modifier& other) const { in semanticallyEquivalent()
106 auto* _other = dynamic_cast<const ConstantAffixModifier*>(&other); in semanticallyEquivalent()
Dnumber_modifiers.h25 class U_I18N_API ConstantAffixModifier : public Modifier, public UObject {
27 ConstantAffixModifier(const UnicodeString &prefix, const UnicodeString &suffix, Field field, in ConstantAffixModifier() function
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DModifierTest.java12 import android.icu.impl.number.ConstantAffixModifier;
27 assertModifierEquals(ConstantAffixModifier.EMPTY, 0, false, "|", "n"); in testConstantAffixModifier()
29 Modifier mod1 = new ConstantAffixModifier("a��", "b", NumberFormat.Field.PERCENT, true); in testConstantAffixModifier()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DModifierTest.java11 import com.ibm.icu.impl.number.ConstantAffixModifier;
24 assertModifierEquals(ConstantAffixModifier.EMPTY, 0, false, "|", "n"); in testConstantAffixModifier()
26 Modifier mod1 = new ConstantAffixModifier("a��", "b", NumberFormat.Field.PERCENT, true); in testConstantAffixModifier()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_modifiers.cpp28 ConstantAffixModifier mod0(u"", u"", UNUM_PERCENT_FIELD, true); in testConstantAffixModifier()
32 ConstantAffixModifier mod1(u"a��", u"b", UNUM_PERCENT_FIELD, true); in testConstantAffixModifier()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DNumberFormatterImpl.java10 import android.icu.impl.number.ConstantAffixModifier;
318 micros.modInner = ConstantAffixModifier.EMPTY; in macrosToMicroGenerator()
357 micros.modOuter = ConstantAffixModifier.EMPTY; in macrosToMicroGenerator()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberFormatterImpl.java9 import com.ibm.icu.impl.number.ConstantAffixModifier;
317 micros.modInner = ConstantAffixModifier.EMPTY; in macrosToMicroGenerator()
356 micros.modOuter = ConstantAffixModifier.EMPTY; in macrosToMicroGenerator()
/external/icu/icu4j/
Dcoverage-exclusion.txt478 com/ibm/icu/impl/number/modifiers/ConstantAffixModifier#contentEquals:(Ljava/lang/CharSequence;Ljav…
479 com/ibm/icu/impl/number/modifiers/ConstantAffixModifier#export:(Lcom/ibm/icu/impl/number/Properties…
480 com/ibm/icu/impl/number/modifiers/ConstantAffixModifier#toString:()Ljava/lang/String;