TimeZone.DisplayName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.