ZoneOffsetTransition.CompareTo(ZoneOffsetTransition) Method

Definition

Compares this transition to another based on the transition instant.

[Android.Runtime.Register("compareTo", "(Ljava/time/zone/ZoneOffsetTransition;)I", "", ApiSince=26)]
public int CompareTo (Java.Time.Zone.ZoneOffsetTransition? transition);
[<Android.Runtime.Register("compareTo", "(Ljava/time/zone/ZoneOffsetTransition;)I", "", ApiSince=26)>]
member this.CompareTo : Java.Time.Zone.ZoneOffsetTransition -> int

Parameters

transition
ZoneOffsetTransition

the transition to compare to, not null

Returns

the comparator value, negative if less, positive if greater

Attributes

Remarks

Java documentation for java.time.zone.ZoneOffsetTransition.compareTo(java.time.zone.ZoneOffsetTransition).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to