public class IlvWrappedICUNumberFormat extends NumberFormat
IlvWrappedICUDecimalFormat
,
Serialized FormNumberFormat.Field
FRACTION_FIELD, INTEGER_FIELD
Constructor and Description |
---|
IlvWrappedICUNumberFormat(com.ibm.icu.text.NumberFormat delegate)
Creates a
NumberFormat that delegates to an ICU
NumberFormat . |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Overridden version of the same method of
NumberFormat . |
boolean |
equals(Object o)
Overridden version of the same method of
NumberFormat . |
StringBuffer |
format(double number,
StringBuffer toAppendTo,
FieldPosition pos)
Overridden version of the same method of
NumberFormat . |
StringBuffer |
format(long number,
StringBuffer toAppendTo,
FieldPosition pos)
Overridden version of the same method of
NumberFormat . |
StringBuffer |
format(Object number,
StringBuffer toAppendTo,
FieldPosition pos)
Overridden version of the same method of
NumberFormat . |
Currency |
getCurrency()
Overridden version of the same method of
NumberFormat . |
int |
getMaximumFractionDigits()
Overridden version of the same method of
NumberFormat . |
int |
getMaximumIntegerDigits()
Overridden version of the same method of
NumberFormat . |
int |
getMinimumFractionDigits()
Overridden version of the same method of
NumberFormat . |
int |
getMinimumIntegerDigits()
Overridden version of the same method of
NumberFormat . |
RoundingMode |
getRoundingMode()
Overridden version of the same method of
NumberFormat . |
com.ibm.icu.text.NumberFormat |
getUnderlyingICUFormat()
Returns the underlying ICU NumberFormat instance.
|
int |
hashCode()
Overridden version of the same method of
NumberFormat . |
boolean |
isGroupingUsed()
Overridden version of the same method of
NumberFormat . |
boolean |
isParseIntegerOnly()
Overridden version of the same method of
NumberFormat . |
Number |
parse(String source)
Overridden version of the same method of
NumberFormat . |
Number |
parse(String source,
ParsePosition parsePosition)
Overridden version of the same method of
NumberFormat . |
void |
setCurrency(Currency currency)
Overridden version of the same method of
NumberFormat . |
void |
setGroupingUsed(boolean newValue)
Overridden version of the same method of
NumberFormat . |
void |
setMaximumFractionDigits(int newValue)
Overridden version of the same method of
NumberFormat . |
void |
setMaximumIntegerDigits(int newValue)
Overridden version of the same method of
NumberFormat . |
void |
setMinimumFractionDigits(int newValue)
Overridden version of the same method of
NumberFormat . |
void |
setMinimumIntegerDigits(int newValue)
Overridden version of the same method of
NumberFormat . |
void |
setParseIntegerOnly(boolean value)
Overridden version of the same method of
NumberFormat . |
void |
setRoundingMode(RoundingMode roundingMode)
Overridden version of the same method of
NumberFormat . |
format, format, getAvailableLocales, getCurrencyInstance, getCurrencyInstance, getInstance, getInstance, getIntegerInstance, getIntegerInstance, getNumberInstance, getNumberInstance, getPercentInstance, getPercentInstance, parseObject
format, formatToCharacterIterator, parseObject
public IlvWrappedICUNumberFormat(com.ibm.icu.text.NumberFormat delegate)
NumberFormat
that delegates to an ICU
NumberFormat
.public com.ibm.icu.text.NumberFormat getUnderlyingICUFormat()
public StringBuffer format(Object number, StringBuffer toAppendTo, FieldPosition pos)
NumberFormat
.format
in class NumberFormat
NumberFormat
public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos)
NumberFormat
.format
in class NumberFormat
NumberFormat
public StringBuffer format(long number, StringBuffer toAppendTo, FieldPosition pos)
NumberFormat
.format
in class NumberFormat
NumberFormat
public Number parse(String source, ParsePosition parsePosition)
NumberFormat
.parse
in class NumberFormat
NumberFormat
public Number parse(String source) throws ParseException
NumberFormat
.parse
in class NumberFormat
ParseException
NumberFormat
public boolean isParseIntegerOnly()
NumberFormat
.isParseIntegerOnly
in class NumberFormat
NumberFormat
public void setParseIntegerOnly(boolean value)
NumberFormat
.setParseIntegerOnly
in class NumberFormat
NumberFormat
public boolean isGroupingUsed()
NumberFormat
.isGroupingUsed
in class NumberFormat
NumberFormat
public void setGroupingUsed(boolean newValue)
NumberFormat
.setGroupingUsed
in class NumberFormat
NumberFormat
public int getMaximumIntegerDigits()
NumberFormat
.getMaximumIntegerDigits
in class NumberFormat
NumberFormat
public void setMaximumIntegerDigits(int newValue)
NumberFormat
.setMaximumIntegerDigits
in class NumberFormat
NumberFormat
public int getMinimumIntegerDigits()
NumberFormat
.getMinimumIntegerDigits
in class NumberFormat
NumberFormat
public void setMinimumIntegerDigits(int newValue)
NumberFormat
.setMinimumIntegerDigits
in class NumberFormat
NumberFormat
public int getMaximumFractionDigits()
NumberFormat
.getMaximumFractionDigits
in class NumberFormat
NumberFormat
public void setMaximumFractionDigits(int newValue)
NumberFormat
.setMaximumFractionDigits
in class NumberFormat
NumberFormat
public int getMinimumFractionDigits()
NumberFormat
.getMinimumFractionDigits
in class NumberFormat
NumberFormat
public void setMinimumFractionDigits(int newValue)
NumberFormat
.setMinimumFractionDigits
in class NumberFormat
NumberFormat
public Currency getCurrency()
NumberFormat
.getCurrency
in class NumberFormat
NumberFormat
public void setCurrency(Currency currency)
NumberFormat
.setCurrency
in class NumberFormat
NumberFormat
public RoundingMode getRoundingMode()
NumberFormat
.getRoundingMode
in class NumberFormat
NumberFormat
public void setRoundingMode(RoundingMode roundingMode)
NumberFormat
.setRoundingMode
in class NumberFormat
NumberFormat
public boolean equals(Object o)
NumberFormat
.equals
in class NumberFormat
NumberFormat
public int hashCode()
NumberFormat
.hashCode
in class NumberFormat
NumberFormat
public Object clone()
NumberFormat
.clone
in class NumberFormat
NumberFormat
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.