Class CurrencyPluralInfoAffixProvider
java.lang.Object
org.graalvm.shadowed.com.ibm.icu.impl.number.CurrencyPluralInfoAffixProvider
- All Implemented Interfaces:
AffixPatternProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.graalvm.shadowed.com.ibm.icu.impl.number.AffixPatternProvider
AffixPatternProvider.Flags -
Field Summary
Fields inherited from interface org.graalvm.shadowed.com.ibm.icu.impl.number.AffixPatternProvider
FLAG_NEG_PREFIX, FLAG_NEG_SUFFIX, FLAG_POS_PREFIX, FLAG_POS_SUFFIX -
Constructor Summary
ConstructorsConstructorDescriptionCurrencyPluralInfoAffixProvider(CurrencyPluralInfo cpi, DecimalFormatProperties properties) -
Method Summary
Modifier and TypeMethodDescriptioncharcharAt(int flags, int i) booleancontainsSymbolType(int type) booleanTrue if the currency symbol should replace the decimal separator.getString(int flags) booleanhasBody()True if the pattern has a number placeholder like "0" or "#,##0.00"; false if the pattern does not have one.booleanbooleanintlength(int flags) booleanboolean
-
Constructor Details
-
CurrencyPluralInfoAffixProvider
-
-
Method Details
-
charAt
public char charAt(int flags, int i) - Specified by:
charAtin interfaceAffixPatternProvider
-
length
public int length(int flags) - Specified by:
lengthin interfaceAffixPatternProvider
-
getString
- Specified by:
getStringin interfaceAffixPatternProvider
-
positiveHasPlusSign
public boolean positiveHasPlusSign()- Specified by:
positiveHasPlusSignin interfaceAffixPatternProvider
-
hasNegativeSubpattern
public boolean hasNegativeSubpattern()- Specified by:
hasNegativeSubpatternin interfaceAffixPatternProvider
-
negativeHasMinusSign
public boolean negativeHasMinusSign()- Specified by:
negativeHasMinusSignin interfaceAffixPatternProvider
-
hasCurrencySign
public boolean hasCurrencySign()- Specified by:
hasCurrencySignin interfaceAffixPatternProvider
-
containsSymbolType
public boolean containsSymbolType(int type) - Specified by:
containsSymbolTypein interfaceAffixPatternProvider
-
hasBody
public boolean hasBody()Description copied from interface:AffixPatternProviderTrue if the pattern has a number placeholder like "0" or "#,##0.00"; false if the pattern does not have one. This is used in cases like compact notation, where the pattern replaces the entire number instead of rendering the number.- Specified by:
hasBodyin interfaceAffixPatternProvider
-
currencyAsDecimal
public boolean currencyAsDecimal()Description copied from interface:AffixPatternProviderTrue if the currency symbol should replace the decimal separator.- Specified by:
currencyAsDecimalin interfaceAffixPatternProvider
-