ULocale.GetBaseName(String) Method

Definition

<strong>[icu]</strong> Returns the (normalized) base name for the specified locale, like #getName(String), but without keywords.

[Android.Runtime.Register("getBaseName", "(Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)]
public static string? GetBaseName (string? localeID);
[<Android.Runtime.Register("getBaseName", "(Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)>]
static member GetBaseName : string -> string

Parameters

localeID
String

the locale ID as a string

Returns

the base name as a String.

Attributes

Remarks

<strong>[icu]</strong> Returns the (normalized) base name for the specified locale, like #getName(String), but without keywords.

Java documentation for android.icu.util.ULocale.getBaseName(java.lang.String).

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