Udostępnij za pośrednictwem


TimeZone.GetDisplayName Method

Definition

Overloads

GetDisplayName(ULocale)
GetDisplayName(Locale)
GetDisplayName(Boolean, TimeZoneNameStyle)
GetDisplayName(Boolean, TimeZoneNameStyle, ULocale)
GetDisplayName(Boolean, TimeZoneNameStyle, Locale)

GetDisplayName(ULocale)

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

Parameters

locale
ULocale

Returns

Attributes

Remarks

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)

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

Parameters

locale
Locale

Returns

Attributes

Remarks

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(Boolean, TimeZoneNameStyle)

[Android.Runtime.Register("getDisplayName", "(ZI)Ljava/lang/String;", "", ApiSince=24)]
public string? GetDisplayName (bool daylight, Android.Icu.Util.TimeZoneNameStyle style);
[<Android.Runtime.Register("getDisplayName", "(ZI)Ljava/lang/String;", "", ApiSince=24)>]
member this.GetDisplayName : bool * Android.Icu.Util.TimeZoneNameStyle -> string

Parameters

daylight
Boolean

Returns

Attributes

Remarks

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(Boolean, TimeZoneNameStyle, ULocale)

[Android.Runtime.Register("getDisplayName", "(ZILandroid/icu/util/ULocale;)Ljava/lang/String;", "GetGetDisplayName_ZILandroid_icu_util_ULocale_Handler", ApiSince=24)]
public virtual string? GetDisplayName (bool daylight, Android.Icu.Util.TimeZoneNameStyle style, Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register("getDisplayName", "(ZILandroid/icu/util/ULocale;)Ljava/lang/String;", "GetGetDisplayName_ZILandroid_icu_util_ULocale_Handler", ApiSince=24)>]
abstract member GetDisplayName : bool * Android.Icu.Util.TimeZoneNameStyle * Android.Icu.Util.ULocale -> string
override this.GetDisplayName : bool * Android.Icu.Util.TimeZoneNameStyle * Android.Icu.Util.ULocale -> string

Parameters

daylight
Boolean
locale
ULocale

Returns

Attributes

Remarks

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(Boolean, TimeZoneNameStyle, Locale)

[Android.Runtime.Register("getDisplayName", "(ZILjava/util/Locale;)Ljava/lang/String;", "GetGetDisplayName_ZILjava_util_Locale_Handler", ApiSince=24)]
public virtual string? GetDisplayName (bool daylight, Android.Icu.Util.TimeZoneNameStyle style, Java.Util.Locale? locale);
[<Android.Runtime.Register("getDisplayName", "(ZILjava/util/Locale;)Ljava/lang/String;", "GetGetDisplayName_ZILjava_util_Locale_Handler", ApiSince=24)>]
abstract member GetDisplayName : bool * Android.Icu.Util.TimeZoneNameStyle * Java.Util.Locale -> string
override this.GetDisplayName : bool * Android.Icu.Util.TimeZoneNameStyle * Java.Util.Locale -> string

Parameters

daylight
Boolean
locale
Locale

Returns

Attributes

Remarks

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