/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestLocalDateTime.java | 159 assertSame(t.toLocalTime(), LocalTime.MIDNIGHT); in test_withHour_toMidnight() 177 assertSame(t.toLocalTime(), LocalTime.MIDNIGHT); in test_withMinute_toMidnight() 195 assertSame(t.toLocalTime(), LocalTime.MIDNIGHT); in test_withSecond_toMidnight() 213 assertSame(t.toLocalTime(), LocalTime.MIDNIGHT); in test_withNanoOfSecond_toMidnight() 273 assertSame(t.toLocalTime(), LocalTime.MIDNIGHT); in test_plusHours_toMidnight() 297 assertSame(t.toLocalTime(), LocalTime.MIDNIGHT); in test_plusMinutes_toMidnight() 321 assertSame(t.toLocalTime(), LocalTime.MIDNIGHT); in test_plusSeconds_toMidnight() 345 assertSame(t.toLocalTime(), LocalTime.MIDNIGHT); in test_plusNanos_toMidnight() 405 assertSame(t.toLocalTime(), LocalTime.MIDNIGHT); in test_minusHours_toMidnight() 429 assertSame(t.toLocalTime(), LocalTime.MIDNIGHT); in test_minusMinutes_toMidnight() [all …]
|
D | TestLocalTime.java | 97 check(LocalTime.MIDNIGHT, 0, 0, 0, 0); in constant_MIDNIGHT() 102 assertSame(LocalTime.MIDNIGHT, LocalTime.MIDNIGHT); in constant_MIDNIGHT_same() 103 assertSame(LocalTime.MIDNIGHT, LocalTime.of(0, 0)); in constant_MIDNIGHT_same()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKLocalTime.java | 161 …rray = {TEST_12_30_40_987654321, LocalTime.MIN, LocalTime.MAX, LocalTime.MIDNIGHT, LocalTime.NOON}; in samples() 214 check(LocalTime.MIDNIGHT, 0, 0, 0, 0); in constant_MIDNIGHT() 733 … {LocalTime.of(23, 5, 20, 1000), LocalTime.MIDNIGHT, LocalTime.of(23, 5, 20, 1000), null}, in data_adjustInto() 737 {LocalTime.MIDNIGHT, LocalTime.of(23, 5, 20, 1000), LocalTime.of(0, 0, 0), null}, in data_adjustInto() 1131 assertEquals(t, LocalTime.MIDNIGHT); in test_withHour_toMidnight_equal() 1171 assertEquals(t, LocalTime.MIDNIGHT); in test_withMinute_toMidnight_equal() 1211 assertEquals(t, LocalTime.MIDNIGHT); in test_withSecond_toMidnight_equal() 1255 assertEquals(t, LocalTime.MIDNIGHT); in test_withNanoOfSecond_toMidnight_equal() 1356 {LocalTime.of(1, 2, 3, 123_456_789), DAYS, LocalTime.MIDNIGHT}, in data_truncatedToValid() 1474 LocalTime t = LocalTime.MIDNIGHT; in test_plusHours_one() [all …]
|
D | TCKLocalDateTime.java | 340 LocalTime expected = LocalTime.MIDNIGHT.plusNanos(123456789L); 1368 …12_30_40_987654321.truncatedTo(DAYS), TEST_2007_07_15_12_30_40_987654321.with(LocalTime.MIDNIGHT)); 1761 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.MIDNIGHT); 1778 LocalDateTime base = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.MIDNIGHT); 1820 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.MIDNIGHT); 1842 LocalDateTime base = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.MIDNIGHT); 1850 if (t.equals(LocalTime.MIDNIGHT)) { 1870 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.MIDNIGHT); 1945 LocalDateTime base = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.MIDNIGHT); 1965 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.MIDNIGHT); [all …]
|
D | TCKOffsetDateTime.java | 293 LocalTime expected = LocalTime.MIDNIGHT.plusNanos(123456789L); 913 …_11_30_59_000000500.truncatedTo(DAYS), TEST_2008_6_30_11_30_59_000000500.with(LocalTime.MIDNIGHT));
|
D | TCKZonedDateTime.java | 306 LocalTime expected = LocalTime.MIDNIGHT.plusNanos(123456789L); 1569 assertEquals(TEST_DATE_TIME.truncatedTo(DAYS), TEST_DATE_TIME.with(LocalTime.MIDNIGHT));
|
D | TCKOffsetTime.java | 875 …tEquals(TEST_11_30_59_500_PONE.truncatedTo(DAYS), TEST_11_30_59_500_PONE.with(LocalTime.MIDNIGHT));
|
/libcore/ojluni/src/test/java/time/tck/java/time/zone/ |
D | TCKZoneOffsetTransitionRule.java | 227 Month.MARCH, 20, DayOfWeek.SUNDAY, LocalTime.MIDNIGHT, true, TimeDefinition.WALL, in test_createTransition_floatingWeek_overlap_endOfDay() 339 Month.MARCH, 20, DayOfWeek.SUNDAY, LocalTime.MIDNIGHT, false, TimeDefinition.WALL, in test_equals_localTimeDifferent() 350 Month.MARCH, 20, DayOfWeek.SUNDAY, LocalTime.MIDNIGHT, false, TimeDefinition.WALL, in test_equals_endOfDayDifferent() 353 Month.MARCH, 20, DayOfWeek.SUNDAY, LocalTime.MIDNIGHT, true, TimeDefinition.WALL, in test_equals_endOfDayDifferent() 450 Month.OCTOBER, 20, null, LocalTime.MIDNIGHT, true, TimeDefinition.WALL, in test_hashCode_floatingWeek_overlap_endOfDay_nullDayOfWeek() 453 Month.OCTOBER, 20, null, LocalTime.MIDNIGHT, true, TimeDefinition.WALL, in test_hashCode_floatingWeek_overlap_endOfDay_nullDayOfWeek() 494 Month.OCTOBER, 20, DayOfWeek.SUNDAY, LocalTime.MIDNIGHT, true, TimeDefinition.WALL, in test_toString_floatingWeek_overlap_endOfDay()
|
D | TCKZoneRules.java | 471 odt = odt.withDayOfYear(1).plusYears(1).with(LocalTime.MIDNIGHT); in test_London_previousTransition_rulesBased()
|
/libcore/ojluni/src/test/java/time/tck/java/time/zone/serial/ |
D | TCKZoneOffsetTransitionRuleSerialization.java | 99 Month.MARCH, 20, DayOfWeek.FRIDAY, LocalTime.MIDNIGHT, true, TimeDefinition.UTC, in test_serialization_endOfDay()
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestExampleCode.java | 171 ChronoLocalDateTime<HijrahDate> hdt = hd2.atTime(LocalTime.MIDNIGHT); in HijrahExample1()
|
D | TestUmmAlQuraChronology.java | 601 assertEquals(test, LocalDateTime.of(localDate, LocalTime.MIDNIGHT)); in test_LocalDateTime_adjustToHijrahDate()
|
/libcore/ojluni/src/main/java/java/time/zone/ |
D | IcuZoneRulesProvider.java | 260 time = LocalTime.MIDNIGHT; in toZoneOffsetTransitionRule()
|
D | ZoneOffsetTransitionRule.java | 190 if (timeEndOfDay && time.equals(LocalTime.MIDNIGHT) == false) { in of()
|
/libcore/ojluni/src/main/java/java/time/ |
D | LocalTime.java | 135 public static final LocalTime MIDNIGHT; field in LocalTime 148 MIDNIGHT = HOURS[0];
|
D | LocalDate.java | 1782 return LocalDateTime.of(this, LocalTime.MIDNIGHT); in atStartOfDay() 1809 LocalDateTime ldt = atTime(LocalTime.MIDNIGHT); in atStartOfDay()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | Parsed.java | 550 updateCheckConflict(LocalTime.MIDNIGHT, Period.ofDays(1)); in resolveTime()
|