Package com.ibm.icu.impl.number
Interface AffixPatternProvider
- All Known Implementing Classes:
CurrencyPluralInfoAffixProvider
,PatternStringParser.ParsedPatternInfo
,PropertiesAffixPatternProvider
public interface AffixPatternProvider
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionchar
charAt
(int flags, int i) boolean
containsSymbolType
(int type) boolean
True if the currency symbol should replace the decimal separator.getString
(int flags) boolean
hasBody()
True if the pattern has a number placeholder like "0" or "#,##0.00"; false if the pattern does not have one.boolean
boolean
int
length
(int flags) boolean
boolean
-
Field Details
-
FLAG_POS_PREFIX
static final int FLAG_POS_PREFIX- See Also:
-
FLAG_POS_SUFFIX
static final int FLAG_POS_SUFFIX- See Also:
-
FLAG_NEG_PREFIX
static final int FLAG_NEG_PREFIX- See Also:
-
FLAG_NEG_SUFFIX
static final int FLAG_NEG_SUFFIX- See Also:
-
-
Method Details
-
charAt
char charAt(int flags, int i) -
length
int length(int flags) -
getString
-
hasCurrencySign
boolean hasCurrencySign() -
positiveHasPlusSign
boolean positiveHasPlusSign() -
hasNegativeSubpattern
boolean hasNegativeSubpattern() -
negativeHasMinusSign
boolean negativeHasMinusSign() -
containsSymbolType
boolean containsSymbolType(int type) -
hasBody
boolean hasBody()True 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. -
currencyAsDecimal
boolean currencyAsDecimal()True if the currency symbol should replace the decimal separator.
-