Udostępnij za pośrednictwem


DateFormatSymbols.GetAvailableLocales Method

Definition

Returns an array of all locales for which the getInstance 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 DateFormatSymbols instances are available.

Attributes

Remarks

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

Added in 1.6.

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