Home
last modified time | relevance | path

Searched refs:isBefore (Results 1 – 25 of 39) sorted by relevance

12

/libcore/ojluni/src/test/java/time/test/java/time/
DTestMonthDay.java129 assertEquals(a.isBefore(b), true, a + " <=> " + b); in doTest_comparisons_MonthDay()
134 assertEquals(a.isBefore(b), false, a + " <=> " + b); in doTest_comparisons_MonthDay()
139 assertEquals(a.isBefore(b), false, a + " <=> " + b); in doTest_comparisons_MonthDay()
DTestLocalDate.java429 assertEquals(a.isBefore(b), true, a + " <=> " + b); in doTest_comparisons_LocalDate()
434 assertEquals(a.isBefore(b), false, a + " <=> " + b); in doTest_comparisons_LocalDate()
439 assertEquals(a.isBefore(b), false, a + " <=> " + b); in doTest_comparisons_LocalDate()
DTestLocalDateTime.java552 assertEquals(a.isBefore(b), true, a + " <=> " + b); in doTest_comparisons_LocalDateTime()
557 assertEquals(a.isBefore(b), false, a + " <=> " + b); in doTest_comparisons_LocalDateTime()
562 assertEquals(a.isBefore(b), false, a + " <=> " + b); in doTest_comparisons_LocalDateTime()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKOffsetTime.java1232 assertEquals(a.isBefore(b), true);
1236 assertEquals(b.isBefore(a), false);
1240 assertEquals(a.isBefore(a), false);
1241 assertEquals(b.isBefore(b), false);
1254 assertEquals(a.isBefore(b), true);
1258 assertEquals(b.isBefore(a), false);
1262 assertEquals(a.isBefore(a), false);
1263 assertEquals(b.isBefore(b), false);
1276 assertEquals(a.isBefore(b), true);
1280 assertEquals(b.isBefore(a), false);
[all …]
DTCKOffsetDateTime.java1445 assertEquals(a.isBefore(b), true);
1449 assertEquals(b.isBefore(a), false);
1453 assertEquals(a.isBefore(a), false);
1454 assertEquals(b.isBefore(b), false);
1467 assertEquals(a.isBefore(b), true);
1471 assertEquals(b.isBefore(a), false);
1475 assertEquals(a.isBefore(a), false);
1476 assertEquals(b.isBefore(b), false);
1489 assertEquals(a.isBefore(b), false);
1493 assertEquals(b.isBefore(a), false);
[all …]
DTCKMonthDay.java689 assertEquals(a.isBefore(b), true, a + " <=> " + b); in doTest_comparisons_MonthDay()
694 assertEquals(a.isBefore(b), false, a + " <=> " + b); in doTest_comparisons_MonthDay()
699 assertEquals(a.isBefore(b), false, a + " <=> " + b); in doTest_comparisons_MonthDay()
714 TEST_07_15.isBefore(null); in test_isBefore_ObjectNull()
DTCKYear.java1092 assertEquals(a.isBefore(b), true); in test_compareTo()
1094 assertEquals(b.isBefore(a), false); in test_compareTo()
1099 assertEquals(a.isBefore(b), false); in test_compareTo()
1101 assertEquals(b.isBefore(a), true); in test_compareTo()
1106 assertEquals(a.isBefore(b), false); in test_compareTo()
1108 assertEquals(b.isBefore(a), false); in test_compareTo()
DTCKLocalDate.java2153 assertEquals(a.isBefore(b), true, a + " <=> " + b);
2158 assertEquals(a.isBefore(b), false, a + " <=> " + b);
2163 assertEquals(a.isBefore(b), false, a + " <=> " + b);
2178 assertTrue(TEST_2007_07_15.isBefore(LocalDate.of(2007, 07, 16)));
2179 assertFalse(TEST_2007_07_15.isBefore(LocalDate.of(2007, 07, 14)));
2180 assertFalse(TEST_2007_07_15.isBefore(TEST_2007_07_15));
2185 TEST_2007_07_15.isBefore(null);
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestIsoChronoImpl.java104 while (isoDate.isBefore(isoEndDate)) { in test_IsoChrono_vsCalendar()
136 while (isoDate.isBefore(isoEndDate)) { in test_DayOfWeek_IsoChronology_vsCalendar()
DTestThaiBuddhistChronoImpl.java107 while (thaiDate.isBefore(isoEndDate)) { in test_ThaiBuddhistChrono_vsCalendar()
DTestJapaneseChronoImpl.java113 while (jDate.isBefore(isoEndDate)) { in test_JapaneseChrono_vsCalendar()
/libcore/ojluni/src/main/java/java/time/zone/
DZoneRules.java695 if (dt.isBefore(localTransition)) { in findOffsetInfo()
698 if (dt.isBefore(trans.getDateTimeAfter())) { in findOffsetInfo()
704 if (dt.isBefore(localTransition) == false) { in findOffsetInfo()
707 if (dt.isBefore(trans.getDateTimeAfter())) { in findOffsetInfo()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKChronoLocalDate.java290 assertEquals(a.isBefore(b), true, a + " isBefore " + b); in test_date_comparisons()
295 assertEquals(a.isBefore(b), false, a + " isBefore " + b); in test_date_comparisons()
300 assertEquals(a.isBefore(b), false, a + " isBefore " + b); in test_date_comparisons()
DTCKChronoLocalDateTime.java301 assertEquals(a.isBefore(b), true, a + " isBefore " + b); in test_datetime_comparisons()
306 assertEquals(a.isBefore(b), false, a + " isBefore " + b); in test_datetime_comparisons()
311 assertEquals(a.isBefore(b), false, a + " isBefore " + b); in test_datetime_comparisons()
DTCKChronoZonedDateTime.java304 assertEquals(a.isBefore(b), true, a + " isBefore " + b); in test_zonedDateTime_comparisons()
309 assertEquals(a.isBefore(b), false, a + " isBefore " + b); in test_zonedDateTime_comparisons()
314 assertEquals(a.isBefore(b), false, a + " isBefore " + b); in test_zonedDateTime_comparisons()
/libcore/ojluni/src/main/java/java/time/
DLocalDateTime.java1724 if (endDate.isAfter(date) && end.time.isBefore(time)) { in until()
1726 } else if (endDate.isBefore(date) && end.time.isAfter(time)) { in until()
1879 public boolean isBefore(ChronoLocalDateTime<?> other) { in isBefore() method in LocalDateTime
1883 return ChronoLocalDateTime.super.isBefore(other); in isBefore()
DMonthDay.java697 public boolean isBefore(MonthDay other) { in isBefore() method in MonthDay
DLocalDate.java1928 public boolean isBefore(ChronoLocalDate other) { in isBefore() method in LocalDate
1932 return ChronoLocalDate.super.isBefore(other); in isBefore()
/libcore/ojluni/src/main/java/java/time/chrono/
DJapaneseDate.java324 if (isoDate.isBefore(MEIJI_6_ISODATE)) { in JapaneseDate()
342 if (isoDate.isBefore(MEIJI_6_ISODATE)) { in JapaneseDate()
DChronoLocalDate.java743 default boolean isBefore(ChronoLocalDate other) { in isBefore() method
DJapaneseEra.java311 if (date.isBefore(MEIJI_6_ISODATE)) { in from()
DChronoLocalDateTime.java545 default boolean isBefore(ChronoLocalDateTime<?> other) { in isBefore() method
DChronoZonedDateTime.java599 default boolean isBefore(ChronoZonedDateTime<?> other) { in isBefore() method
/libcore/luni/src/test/java/libcore/java/time/zone/
DIcuZoneRulesProviderTest.java134 while (instant.isBefore(end)) { in testAllTransitions()
/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneRules.java658 if (zdt.toLocalDate().isBefore(LocalDate.of(1911, 3, 11))) { in test_Paris_getStandardOffset()
660 } else if (zdt.toLocalDate().isBefore(LocalDate.of(1940, 6, 14))) { in test_Paris_getStandardOffset()
662 } else if (zdt.toLocalDate().isBefore(LocalDate.of(1944, 8, 25))) { in test_Paris_getStandardOffset()
664 } else if (zdt.toLocalDate().isBefore(LocalDate.of(1945, 9, 16))) { in test_Paris_getStandardOffset()
864 if (dateTime.toLocalDate().isBefore(LocalDate.of(1883, 11, 18))) { in test_NewYork_getStandardOffset()

12