共用方式為


DecimalStyle.Of(Locale) Method

Definition

Obtains the DecimalStyle for the specified locale.

[Android.Runtime.Register("of", "(Ljava/util/Locale;)Ljava/time/format/DecimalStyle;", "", ApiSince=26)]
public static Java.Time.Format.DecimalStyle? Of (Java.Util.Locale? locale);
[<Android.Runtime.Register("of", "(Ljava/util/Locale;)Ljava/time/format/DecimalStyle;", "", ApiSince=26)>]
static member Of : Java.Util.Locale -> Java.Time.Format.DecimalStyle

Parameters

locale
Locale

the locale, not null

Returns

the decimal style, not null

Attributes

Remarks

Java documentation for java.time.format.DecimalStyle.of(java.util.Locale).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to