Top Inners Fields Methods
com.ibm.icu.impl.number

public Interface AffixPatternProvider

Known Direct Implementers
com.ibm.icu.impl.number.CurrencyPluralInfoAffixProvider, com.ibm.icu.impl.number.PatternStringParser.ParsedPatternInfo, com.ibm.icu.impl.number.PropertiesAffixPatternProvider

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
public static final int

Method Summary

Modifier and TypeMethod and Description
public char
charAt(int flags, int i)

public boolean
public boolean
currencyAsDecimal()

True if the currency symbol should replace the decimal separator.

public String
getString(int flags)

public boolean
hasBody()

True if the pattern has a number placeholder like "0" or "#,##0.00"; false if the pattern does not have one.

public boolean
public boolean
public int
length(int flags)

public boolean
public boolean

Field Detail

FLAG_NEG_PREFIXback to summary
public static final int FLAG_NEG_PREFIX
FLAG_NEG_SUFFIXback to summary
public static final int FLAG_NEG_SUFFIX
FLAG_POS_PREFIXback to summary
public static final int FLAG_POS_PREFIX
FLAG_POS_SUFFIXback to summary
public static final int FLAG_POS_SUFFIX

Method Detail

charAtback to summary
public char charAt(int flags, int i)
containsSymbolTypeback to summary
public boolean containsSymbolType(int type)
currencyAsDecimalback to summary
public boolean currencyAsDecimal()

True if the currency symbol should replace the decimal separator.

getStringback to summary
public String getString(int flags)
hasBodyback to summary
public 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.

hasCurrencySignback to summary
public boolean hasCurrencySign()
hasNegativeSubpatternback to summary
public boolean hasNegativeSubpattern()
lengthback to summary
public int length(int flags)
negativeHasMinusSignback to summary
public boolean negativeHasMinusSign()
positiveHasPlusSignback to summary
public boolean positiveHasPlusSign()
com.ibm.icu.impl.number back to summary

public final Class AffixPatternProvider.Flags

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
public static final int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

NEGATIVE_SUBPATTERNback to summary
public static final int NEGATIVE_SUBPATTERN
PADDINGback to summary
public static final int PADDING
PLURAL_MASKback to summary
public static final int PLURAL_MASK
PREFIXback to summary
public static final int PREFIX

Constructor Detail

Flagsback to summary
public Flags()