共用方式為


DateFormatSymbols.GetInstance(Locale) Method

Definition

Gets the DateFormatSymbols instance for the specified locale.

[Android.Runtime.Register("getInstance", "(Ljava/util/Locale;)Ljava/text/DateFormatSymbols;", "")]
public static Java.Text.DateFormatSymbols? GetInstance (Java.Util.Locale? locale);
[<Android.Runtime.Register("getInstance", "(Ljava/util/Locale;)Ljava/text/DateFormatSymbols;", "")>]
static member GetInstance : Java.Util.Locale -> Java.Text.DateFormatSymbols

Parameters

locale
Locale

the given locale.

Returns

a DateFormatSymbols instance.

Attributes

Exceptions

if locale == null

Remarks

Gets the DateFormatSymbols instance for the specified locale.

Added in 1.6.

Java documentation for java.text.DateFormatSymbols.getInstance(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