Uses of Enum Class
java.text.NumberFormat.Style
Packages that use NumberFormat.Style
Package
Description
Provides classes and interfaces for handling text, dates, numbers,
and messages in a manner independent of natural languages.
Service provider classes for the classes in the java.text package.
-
Uses of NumberFormat.Style in java.text
Methods in java.text that return NumberFormat.StyleModifier and TypeMethodDescriptionstatic NumberFormat.Style
Returns the enum constant of this class with the specified name.static NumberFormat.Style[]
NumberFormat.Style.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in java.text with parameters of type NumberFormat.StyleModifier and TypeMethodDescriptionstatic NumberFormat
NumberFormat.getCompactNumberInstance
(Locale locale, NumberFormat.Style formatStyle) Returns a compact number format for the specifiedlocale
andformatStyle
. -
Uses of NumberFormat.Style in java.text.spi
Methods in java.text.spi with parameters of type NumberFormat.StyleModifier and TypeMethodDescriptionNumberFormatProvider.getCompactNumberInstance
(Locale locale, NumberFormat.Style formatStyle) Returns a newNumberFormat
instance which formats a number in its compact form for the specifiedlocale
andformatStyle
.