Language

Clock.Zone Property

Definition

Gets the time-zone being used to create dates and times.

public abstract Java.Time.ZoneId? Zone { [Android.Runtime.Register("getZone", "()Ljava/time/ZoneId;", "GetGetZoneHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getZone", "()Ljava/time/ZoneId;", "GetGetZoneHandler", ApiSince=26)>]
member this.Zone : Java.Time.ZoneId

Property Value

the time-zone being used to interpret instants, not null

Attributes

Remarks

Gets the time-zone being used to create dates and times. A clock will typically obtain the current instant and then convert that to a date or time using a time-zone. This method returns the time-zone used.

Java reference for java.time.Clock.getZone.

Applies to