Home
last modified time | relevance | path

Searched refs:timeLineOrder (Results 1 – 10 of 10) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestChronoLocalDate.java103 Collections.sort(copy, ChronoLocalDate.timeLineOrder()); in test_date_comparator_checkGenerics_ISO()
105 assertTrue(ChronoLocalDate.timeLineOrder().compare(copy.get(0), copy.get(1)) < 0); in test_date_comparator_checkGenerics_ISO()
127 Collections.sort(copy, ChronoLocalDate.timeLineOrder());
129 assertTrue(ChronoLocalDate.timeLineOrder().compare(copy.get(0), copy.get(1)) < 0);
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoLocalDate.java258 static Comparator<ChronoLocalDate> timeLineOrder() { in timeLineOrder() method
DChronoLocalDateTime.java138 static Comparator<ChronoLocalDateTime<?>> timeLineOrder() { in timeLineOrder() method
DChronoZonedDateTime.java139 static Comparator<ChronoZonedDateTime<?>> timeLineOrder() { in timeLineOrder() method
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKOffsetDateTime.java1312 assertEquals(OffsetDateTime.timeLineOrder().compare(a, b) < 0, true);
1324 assertEquals(OffsetDateTime.timeLineOrder().compare(a, b) < 0, true);
1336 assertEquals(OffsetDateTime.timeLineOrder().compare(a, b) < 0, true);
1348 assertEquals(OffsetDateTime.timeLineOrder().compare(a, b) < 0, true);
1360 assertEquals(OffsetDateTime.timeLineOrder().compare(a, b) < 0, true);
1372 assertEquals(OffsetDateTime.timeLineOrder().compare(a, b) < 0, true);
1384 assertEquals(OffsetDateTime.timeLineOrder().compare(a, b) < 0, true);
1391 …assertEquals(a.compareTo(b), OffsetDateTime.timeLineOrder().compare(a,b), "for nano != nano, compa…
/libcore/ojluni/annotations/hiddenapi/java/time/
DOffsetDateTime.java79 public static java.util.Comparator<java.time.OffsetDateTime> timeLineOrder() { in timeLineOrder() method in OffsetDateTime
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKChronoLocalDate.java287 int cmp = ChronoLocalDate.timeLineOrder().compare(a, b); in test_date_comparisons()
DTCKChronoLocalDateTime.java298 int cmp = ChronoLocalDateTime.timeLineOrder().compare(a, b); in test_datetime_comparisons()
DTCKChronoZonedDateTime.java301 int cmp = ChronoZonedDateTime.timeLineOrder().compare(a, b); in test_zonedDateTime_comparisons()
/libcore/ojluni/src/main/java/java/time/
DOffsetDateTime.java155 public static Comparator<OffsetDateTime> timeLineOrder() { in timeLineOrder() method in OffsetDateTime