DateFormatSymbols.GetAvailableLocales Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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;", "", ApiSince=24)]
public static Java.Util.Locale[]? GetAvailableLocales ();
[<Android.Runtime.Register("getAvailableLocales", "()[Ljava/util/Locale;", "", ApiSince=24)>]
static member GetAvailableLocales : unit -> Java.Util.Locale[]
Returns
An array of Locale
s 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.
<strong>[icu] Note:</strong> Unlike java.text.DateFormatSymbols#getAvailableLocales
, this method simply returns the array of Locale
s available in this class. ICU does not support DateFormatSymbolsProvider
introduced in Java 6 or its equivalent implementation for now.
Java documentation for android.icu.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.