ZoneOffsetTransition.Duration 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 duration of the transition.
public Java.Time.Duration? Duration { [Android.Runtime.Register("getDuration", "()Ljava/time/Duration;", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getDuration", "()Ljava/time/Duration;", "", ApiSince=26)>]
member this.Duration : Java.Time.Duration
Property Value
the duration of the transition, positive for gaps, negative for overlaps
- Attributes
Remarks
Gets the duration of the transition. In most cases, the transition duration is one hour, however this is not always the case. The duration will be positive for a gap and negative for an overlap. Time-zones are second-based, so the nanosecond part of the duration will be zero.
Java reference for java.time.zone.ZoneOffsetTransition.getDuration.