Share via


ULocale.ToLocale Method

Definition

<strong>[icu]</strong> Converts this ULocale object to a java.util.Locale.

[Android.Runtime.Register("toLocale", "()Ljava/util/Locale;", "", ApiSince=24)]
public Java.Util.Locale? ToLocale ();
[<Android.Runtime.Register("toLocale", "()Ljava/util/Locale;", "", ApiSince=24)>]
member this.ToLocale : unit -> Java.Util.Locale

Returns

a java.util.Locale that either exactly represents this object or is the closest approximation.

Attributes

Remarks

<strong>[icu]</strong> Converts this ULocale object to a java.util.Locale.

Java documentation for android.icu.util.ULocale.toLocale().

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