Condividi tramite


Calendar.TimeZone Property

Definition

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

public virtual Java.Util.TimeZone TimeZone { [Android.Runtime.Register("getTimeZone", "()Ljava/util/TimeZone;", "GetGetTimeZoneHandler")] get; [Android.Runtime.Register("setTimeZone", "(Ljava/util/TimeZone;)V", "GetSetTimeZone_Ljava_util_TimeZone_Handler")] set; }
[<get: Android.Runtime.Register("getTimeZone", "()Ljava/util/TimeZone;", "GetGetTimeZoneHandler")>]
[<set: Android.Runtime.Register("setTimeZone", "(Ljava/util/TimeZone;)V", "GetSetTimeZone_Ljava_util_TimeZone_Handler")>]
member this.TimeZone : Java.Util.TimeZone with get, set

Property Value

the time zone object associated with this calendar.

Attributes

Remarks

Property getter documentation:

Java documentation for java.util.Calendar.getTimeZone().

Property setter documentation:

Java documentation for java.util.Calendar.setTimeZone(java.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