Freigeben über


TimeZone.DisplayName Property

Definition

Returns a long standard time name of this TimeZone suitable for presentation to the user in the default locale.

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

Property Value

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

Attributes

Remarks

Returns a long standard time name of this TimeZone suitable for presentation to the user in the default locale.

This method is equivalent to: <blockquote>

getDisplayName(false, {@link #LONG},
                           Locale.getDefault({@link Locale.Category#DISPLAY}))

</blockquote>

Added in 1.2.

Java documentation for java.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