Compartir a través de


AnalogClock.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", ApiSince=31)] get; [Android.Runtime.Register("setTimeZone", "(Ljava/lang/String;)V", "GetSetTimeZone_Ljava_lang_String_Handler", ApiSince=31)] set; }
[<get: Android.Runtime.Register("getTimeZone", "()Ljava/lang/String;", "GetGetTimeZoneHandler", ApiSince=31)>]
[<set: Android.Runtime.Register("setTimeZone", "(Ljava/lang/String;)V", "GetSetTimeZone_Ljava_lang_String_Handler", ApiSince=31)>]
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.AnalogClock.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.AnalogClock.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