Interface AffixPatternProvider
- All Known Implementing Classes:
CurrencyPluralInfoAffixProvider,PatternStringParser.ParsedPatternInfo,PropertiesAffixPatternProvider
public interface AffixPatternProvider
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final int -
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
-
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.
-