-
- All Implemented Interfaces:
-
com.facebook.hermes.intl.IPlatformNumberFormatter
public class PlatformNumberFormatterAndroid implements IPlatformNumberFormatter
-
-
Method Summary
-
Methods inherited from class com.facebook.hermes.intl.IPlatformNumberFormatter
configure, setCurrency, setFractionDigits, setGrouping, setMinIntergerDigits, setSignDisplay, setSignificantDigits, setUnits -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
setCurrency
PlatformNumberFormatterAndroid setCurrency(String currencyCode, IPlatformNumberFormatter.CurrencyDisplay currencyDisplay)
-
setGrouping
PlatformNumberFormatterAndroid setGrouping(boolean mGroupingUsed)
-
setMinIntergerDigits
PlatformNumberFormatterAndroid setMinIntergerDigits(int minimumIntegerDigits)
-
setSignificantDigits
PlatformNumberFormatterAndroid setSignificantDigits(IPlatformNumberFormatter.RoundingType roundingType, int minimumSignificantDigits, int maximumSignificantDigits)
-
setFractionDigits
PlatformNumberFormatterAndroid setFractionDigits(IPlatformNumberFormatter.RoundingType roundingType, int minimumFractionDigits, int maximumFractionDigits)
-
setSignDisplay
PlatformNumberFormatterAndroid setSignDisplay(IPlatformNumberFormatter.SignDisplay signDisplay)
-
getCurrencyDigits
static int getCurrencyDigits(String currencyCode)
-
fieldToString
String fieldToString(AttributedCharacterIterator.Attribute attribute, double x)
-
formatToParts
AttributedCharacterIterator formatToParts(double n)
-
setUnits
PlatformNumberFormatterAndroid setUnits(String unit, IPlatformNumberFormatter.UnitDisplay unitDisplay)
-
configure
PlatformNumberFormatterAndroid configure(ILocaleObject<out Object> localeObject, String numberingSystem, IPlatformNumberFormatter.Style style, IPlatformNumberFormatter.CurrencySign currencySign, IPlatformNumberFormatter.Notation notation, IPlatformNumberFormatter.CompactDisplay compactDisplay)
-
getAvailableLocales
Array<String> getAvailableLocales()
-
getDefaultNumberingSystem
String getDefaultNumberingSystem(ILocaleObject<out Object> localeObject)
-
-
-
-