Share via


ULocale.ForLocale(Locale) Method

Definition

<strong>[icu]</strong> Returns a ULocale object for a java.util.Locale.

[Android.Runtime.Register("forLocale", "(Ljava/util/Locale;)Landroid/icu/util/ULocale;", "", ApiSince=24)]
public static Android.Icu.Util.ULocale? ForLocale (Java.Util.Locale? loc);
[<Android.Runtime.Register("forLocale", "(Ljava/util/Locale;)Landroid/icu/util/ULocale;", "", ApiSince=24)>]
static member ForLocale : Java.Util.Locale -> Android.Icu.Util.ULocale

Parameters

loc
Locale

a java.util.Locale

Returns

Attributes

Remarks

<strong>[icu]</strong> Returns a ULocale object for a java.util.Locale. The ULocale is canonicalized.

Java documentation for android.icu.util.ULocale.forLocale(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