Share via


Calendar.TimeZone Property

Definition

Returns the time zone. -or- Sets the time zone with the given time zone value.

public virtual Android.Icu.Util.TimeZone? TimeZone { [Android.Runtime.Register("getTimeZone", "()Landroid/icu/util/TimeZone;", "GetGetTimeZoneHandler", ApiSince=24)] get; [Android.Runtime.Register("setTimeZone", "(Landroid/icu/util/TimeZone;)V", "GetSetTimeZone_Landroid_icu_util_TimeZone_Handler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getTimeZone", "()Landroid/icu/util/TimeZone;", "GetGetTimeZoneHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setTimeZone", "(Landroid/icu/util/TimeZone;)V", "GetSetTimeZone_Landroid_icu_util_TimeZone_Handler", ApiSince=24)>]
member this.TimeZone : Android.Icu.Util.TimeZone with get, set

Property Value

the time zone object associated with this calendar.

Attributes

Remarks

Property getter documentation:

Returns the time zone.

Java documentation for android.icu.util.Calendar.getTimeZone().

Property setter documentation:

Sets the time zone with the given time zone value.

Java documentation for android.icu.util.Calendar.setTimeZone(android.icu.util.TimeZone).

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