TimeZone.DisplayName Property

Definition

Returns a name of this time zone suitable for presentation to the user in the default DISPLAY locale.

public string? DisplayName { [Android.Runtime.Register("getDisplayName", "()Ljava/lang/String;", "", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getDisplayName", "()Ljava/lang/String;", "", ApiSince=24)>]
member this.DisplayName : string

Property Value

the human-readable name of this time zone in the default locale.

Attributes

Remarks

Returns a name of this time zone suitable for presentation to the user in the default DISPLAY locale. This method returns the long generic name. If the display name is not available for the locale, a fallback based on the country, city, or time zone id will be used.

Java documentation for android.icu.util.TimeZone.getDisplayName().

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