The comparison is based first on the underlying time-line date, then on the chronology. It is "consistent with equals", as defined by {@link Comparable}.
For example, the following is the comparator order:
If all the date objects being compared are in the same chronology, then the additional chronology stage is not required and only the local date is used. To compare the dates of two {@code TemporalAccessor} instances, including datesin two different chronologies, use {@link ChronoField#EPOCH_DAY} as a comparator. @param other the other date to compare to, not null @return the comparator value, negative if less, positive if greater
|
|