ZonedDateTime.Zone Property

Definition

Gets the time-zone, such as 'Europe/Paris'.

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

Property Value

the time-zone, not null

Implements

Attributes

Remarks

Gets the time-zone, such as 'Europe/Paris'. This returns the zone ID. This identifies the time-zone rules that determine when and how the offset from UTC/Greenwich changes. The zone ID may be same as the offset. If this is true, then any future calculations, such as addition or subtraction, have no complex edge cases due to time-zone rules. See also withFixedOffsetZone().

Java reference for java.time.ZonedDateTime.getZone.

Applies to