Package org.teavm.classlib.java.text
Class TDecimalFormat
java.lang.Object
org.teavm.classlib.java.text.TFormat
org.teavm.classlib.java.text.TNumberFormat
org.teavm.classlib.java.text.TDecimalFormat
- All Implemented Interfaces:
TSerializable,TCloneable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.teavm.classlib.java.text.TNumberFormat
TNumberFormat.Field -
Field Summary
Fields inherited from class org.teavm.classlib.java.text.TNumberFormat
FRACTION_FIELD, INTEGER_FIELD -
Constructor Summary
ConstructorsConstructorDescriptionTDecimalFormat(String pattern) TDecimalFormat(String pattern, TDecimalFormatSymbols value) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyPattern(String pattern) clone()booleanformat(double value, StringBuffer buffer, TFieldPosition field) format(long value, StringBuffer buffer, TFieldPosition field) format(Object object, StringBuffer buffer, TFieldPosition field) intintinthashCode()booleanbooleanparse(String string, TParsePosition position) voidvoidsetDecimalSeparatorAlwaysShown(boolean newValue) voidsetGroupingSize(int newValue) voidsetMultiplier(int newValue) voidsetNegativePrefix(String newValue) voidsetNegativeSuffix(String newValue) voidsetParseBigDecimal(boolean newValue) voidsetPositivePrefix(String newValue) voidsetPositiveSuffix(String newValue) Methods inherited from class org.teavm.classlib.java.text.TNumberFormat
format, format, getAvailableLocales, getCurrency, getCurrencyInstance, getCurrencyInstance, getInstance, getInstance, getIntegerInstance, getIntegerInstance, getMaximumFractionDigits, getMaximumIntegerDigits, getMinimumFractionDigits, getMinimumIntegerDigits, getNumberInstance, getNumberInstance, getPercentInstance, getPercentInstance, getRoundingMode, isGroupingUsed, isParseIntegerOnly, parse, parseObject, setCurrency, setGroupingUsed, setMaximumFractionDigits, setMaximumIntegerDigits, setMinimumFractionDigits, setMinimumIntegerDigits, setParseIntegerOnly, setRoundingModeMethods inherited from class org.teavm.classlib.java.text.TFormat
format, formatToCharacterIterator, parseObject
-
Constructor Details
-
TDecimalFormat
public TDecimalFormat() -
TDecimalFormat
-
TDecimalFormat
-
-
Method Details
-
applyPattern
-
getDecimalFormatSymbols
-
setDecimalFormatSymbols
-
getPositivePrefix
-
setPositivePrefix
-
getNegativePrefix
-
setNegativePrefix
-
getPositiveSuffix
-
setPositiveSuffix
-
getNegativeSuffix
-
setNegativeSuffix
-
getMultiplier
public int getMultiplier() -
setMultiplier
public void setMultiplier(int newValue) -
getGroupingSize
public int getGroupingSize() -
setGroupingSize
public void setGroupingSize(int newValue) -
isDecimalSeparatorAlwaysShown
public boolean isDecimalSeparatorAlwaysShown() -
setDecimalSeparatorAlwaysShown
public void setDecimalSeparatorAlwaysShown(boolean newValue) -
isParseBigDecimal
public boolean isParseBigDecimal() -
setParseBigDecimal
public void setParseBigDecimal(boolean newValue) -
clone
- Overrides:
clonein classTNumberFormat
-
equals
- Overrides:
equalsin classTNumberFormat
-
hashCode
public int hashCode()- Overrides:
hashCodein classTNumberFormat
-
parse
- Specified by:
parsein classTNumberFormat
-
format
- Overrides:
formatin classTNumberFormat
-
format
- Specified by:
formatin classTNumberFormat
-
format
- Specified by:
formatin classTNumberFormat
-