Clock.Zone Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.