Uses of Enum Class
java.text.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
Modifier 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.Modifier 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
Modifier and TypeMethodDescriptionNumberFormatProvider.getCompactNumberInstance
(Locale locale, NumberFormat.Style formatStyle) Returns a newNumberFormat
instance which formats a number in its compact form for the specifiedlocale
andformatStyle
.