IChronoZonedDateTime.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 ChronoZonedDateTime in time-line order ignoring the chronology.
[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 ignoring the chronology
- Attributes
Remarks
Gets a comparator that compares ChronoZonedDateTime in time-line order ignoring the chronology. This comparator differs from the comparison in compareTo(java.time.chrono.ChronoZonedDateTime<?>) in that it only compares the underlying instant and not the chronology. This allows dates in different calendar systems to be compared based on the position of the date-time on the instant time-line. The underlying comparison is equivalent to comparing the epoch-second and nano-of-second.
Java reference for java.time.chrono.ChronoZonedDateTime.timeLineOrder.