다음을 통해 공유


DateFormat.GetAvailableLocales Method

Definition

Returns an array of all locales for which the get*Instance methods of this class can return localized instances.

[Android.Runtime.Register("getAvailableLocales", "()[Ljava/util/Locale;", "")]
public static Java.Util.Locale[] GetAvailableLocales ();
[<Android.Runtime.Register("getAvailableLocales", "()[Ljava/util/Locale;", "")>]
static member GetAvailableLocales : unit -> Java.Util.Locale[]

Returns

Locale[]

An array of locales for which localized DateFormat instances are available.

Attributes

Remarks

Returns an array of all locales for which the get*Instance methods of this class can return localized instances. It must contain at least a Locale instance equal to java.util.Locale#US Locale.US.

Java documentation for java.text.DateFormat.getAvailableLocales().

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