OffsetDateTime.TimeLineOrder Method
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 a comparator that compares two OffsetDateTime instances based solely on the instant.
[Android.Runtime.Register("timeLineOrder", "()Ljava/util/Comparator;", "", ApiSince=26)]
public static Java.Util.IComparator? TimeLineOrder();
[<Android.Runtime.Register("timeLineOrder", "()Ljava/util/Comparator;", "", ApiSince=26)>]
static member TimeLineOrder : unit -> Java.Util.IComparator
Returns
a comparator that compares in time-line order
- Attributes
Remarks
Gets a comparator that compares two OffsetDateTime instances based solely on the instant. This method differs from the comparison in compareTo(java.time.OffsetDateTime) in that it only compares the underlying instant.
Java reference for java.time.OffsetDateTime.timeLineOrder.