TextClock.TimeZone Property

Definition

Indicates which time zone is currently used by this view. -or- Sets the specified time zone to use in this clock.

public virtual string? TimeZone { [Android.Runtime.Register("getTimeZone", "()Ljava/lang/String;", "GetGetTimeZoneHandler")] get; [Android.Runtime.Register("setTimeZone", "(Ljava/lang/String;)V", "GetSetTimeZone_Ljava_lang_String_Handler")] set; }
[<get: Android.Runtime.Register("getTimeZone", "()Ljava/lang/String;", "GetGetTimeZoneHandler")>]
[<set: Android.Runtime.Register("setTimeZone", "(Ljava/lang/String;)V", "GetSetTimeZone_Ljava_lang_String_Handler")>]
member this.TimeZone : string with get, set

Property Value

The ID of the current time zone or null if the default time zone, as set by the user, must be used

Attributes

Remarks

Property getter documentation:

Indicates which time zone is currently used by this view.

Java documentation for android.widget.TextClock.getTimeZone().

Property setter documentation:

Sets the specified time zone to use in this clock. When the time zone is set through this method, system time zone changes (when the user sets the time zone in settings for instance) will be ignored.

Java documentation for android.widget.TextClock.setTimeZone(java.lang.String).

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

See also