クラスjava.text.NumberFormat.Styleの
使用
-
NumberFormat.Styleを使用するパッケージ パッケージ 説明 java.text テキスト、日付、数値、およびメッセージを自然言語に依存しない方法で処理するためのクラスとインタフェースを提供します。java.text.spi java.textパッケージに含まれているクラスのサービス・プロバイダ・クラスです。 -
-
java.textでのNumberFormat.Styleの使用
NumberFormat.Styleを戻すjava.textのメソッド 修飾子と型 メソッド 説明 static NumberFormat.StyleNumberFormat.Style. valueOf(String name)指定された名前を持つ、この型の列挙型定数を返します。static NumberFormat.Style[]NumberFormat.Style. values()この列挙型の定数を含む配列を、宣言されている順序で返します。型NumberFormat.Styleのパラメータを持つjava.textのメソッド 修飾子と型 メソッド 説明 static NumberFormatNumberFormat. getCompactNumberInstance(Locale locale, NumberFormat.Style formatStyle)指定されたlocaleおよびformatStyleに対してコンパクトな数値形式を返します。 -
java.text.spiでのNumberFormat.Styleの使用
型NumberFormat.Styleのパラメータを持つjava.text.spiのメソッド 修飾子と型 メソッド 説明 NumberFormatNumberFormatProvider. getCompactNumberInstance(Locale locale, NumberFormat.Style formatStyle)指定されたlocaleおよびformatStyleのコンパクト形式で数値を書式設定する新規NumberFormatインスタンスを返します。
-