Language

ZoneRules.NextTransition(Instant) Method

Definition

Gets the next transition after the specified instant.

[Android.Runtime.Register("nextTransition", "(Ljava/time/Instant;)Ljava/time/zone/ZoneOffsetTransition;", "", ApiSince=26)]
public Java.Time.Zone.ZoneOffsetTransition? NextTransition(Java.Time.Instant? instant);
[<Android.Runtime.Register("nextTransition", "(Ljava/time/Instant;)Ljava/time/zone/ZoneOffsetTransition;", "", ApiSince=26)>]
member this.NextTransition : Java.Time.Instant -> Java.Time.Zone.ZoneOffsetTransition

Parameters

instant
Instant

The instant after which to get the next transition. Fixed-offset rules may ignore null; variable rules do not.

Returns

The next transition after the specified instant, or null if it is after the last transition.

Attributes

Exceptions

Thrown if instant is null and the rules are not fixed-offset.

Applies to