Język

Calendar.GetDisplayName Method

Definition

Overloads

Name Description
GetDisplayName(ULocale)

Returns the name of this calendar in the language of the given locale.

GetDisplayName(Locale)

Returns the name of this calendar in the language of the given locale.

GetDisplayName(ULocale)

Returns the name of this calendar in the language of the given locale.

[Android.Runtime.Register("getDisplayName", "(Landroid/icu/util/ULocale;)Ljava/lang/String;", "GetGetDisplayName_Landroid_icu_util_ULocale_Handler", ApiSince=24)]
public virtual string? GetDisplayName(Android.Icu.Util.ULocale? loc);
[<Android.Runtime.Register("getDisplayName", "(Landroid/icu/util/ULocale;)Ljava/lang/String;", "GetGetDisplayName_Landroid_icu_util_ULocale_Handler", ApiSince=24)>]
abstract member GetDisplayName : Android.Icu.Util.ULocale -> string
override this.GetDisplayName : Android.Icu.Util.ULocale -> string

Parameters

loc
ULocale

The requested locale. The base implementation does not use this argument.

Returns

The Java class name of this calendar in the base implementation.

Attributes

Remarks

Returns the name of this calendar in the language of the given locale.

Java documentation for android.icu.util.Calendar.getDisplayName(android.icu.util.ULocale).

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

GetDisplayName(Locale)

Returns the name of this calendar in the language of the given locale.

[Android.Runtime.Register("getDisplayName", "(Ljava/util/Locale;)Ljava/lang/String;", "GetGetDisplayName_Ljava_util_Locale_Handler", ApiSince=24)]
public virtual string? GetDisplayName(Java.Util.Locale? loc);
[<Android.Runtime.Register("getDisplayName", "(Ljava/util/Locale;)Ljava/lang/String;", "GetGetDisplayName_Ljava_util_Locale_Handler", ApiSince=24)>]
abstract member GetDisplayName : Java.Util.Locale -> string
override this.GetDisplayName : Java.Util.Locale -> string

Parameters

loc
Locale

The requested locale. The base implementation does not use this argument.

Returns

The Java class name of this calendar in the base implementation.

Attributes

Remarks

Returns the name of this calendar in the language of the given locale.

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