Interface AffixPatternProvider

All Known Implementing Classes:
CurrencyPluralInfoAffixProvider, PatternStringParser.ParsedPatternInfo, PropertiesAffixPatternProvider

public interface AffixPatternProvider
  • Field Details

  • Method Details

    • charAt

      char charAt(int flags, int i)
    • length

      int length(int flags)
    • getString

      String getString(int flags)
    • 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.