Home
last modified time | relevance | path

Searched refs:MIDNIGHT (Results 1 – 17 of 17) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/
DTestLocalDateTime.java159 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 …]
DTestLocalTime.java97 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/
DTCKLocalTime.java161 …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 …]
DTCKLocalDateTime.java340 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 …]
DTCKOffsetDateTime.java293 LocalTime expected = LocalTime.MIDNIGHT.plusNanos(123456789L);
913 …_11_30_59_000000500.truncatedTo(DAYS), TEST_2008_6_30_11_30_59_000000500.with(LocalTime.MIDNIGHT));
DTCKZonedDateTime.java306 LocalTime expected = LocalTime.MIDNIGHT.plusNanos(123456789L);
1569 assertEquals(TEST_DATE_TIME.truncatedTo(DAYS), TEST_DATE_TIME.with(LocalTime.MIDNIGHT));
DTCKOffsetTime.java875 …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/
DTCKZoneOffsetTransitionRule.java227 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()
DTCKZoneRules.java471 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/
DTCKZoneOffsetTransitionRuleSerialization.java99 Month.MARCH, 20, DayOfWeek.FRIDAY, LocalTime.MIDNIGHT, true, TimeDefinition.UTC, in test_serialization_endOfDay()
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestExampleCode.java171 ChronoLocalDateTime<HijrahDate> hdt = hd2.atTime(LocalTime.MIDNIGHT); in HijrahExample1()
DTestUmmAlQuraChronology.java601 assertEquals(test, LocalDateTime.of(localDate, LocalTime.MIDNIGHT)); in test_LocalDateTime_adjustToHijrahDate()
/libcore/ojluni/src/main/java/java/time/zone/
DIcuZoneRulesProvider.java260 time = LocalTime.MIDNIGHT; in toZoneOffsetTransitionRule()
DZoneOffsetTransitionRule.java190 if (timeEndOfDay && time.equals(LocalTime.MIDNIGHT) == false) { in of()
/libcore/ojluni/src/main/java/java/time/
DLocalTime.java135 public static final LocalTime MIDNIGHT; field in LocalTime
148 MIDNIGHT = HOURS[0];
DLocalDate.java1782 return LocalDateTime.of(this, LocalTime.MIDNIGHT); in atStartOfDay()
1809 LocalDateTime ldt = atTime(LocalTime.MIDNIGHT); in atStartOfDay()
/libcore/ojluni/src/main/java/java/time/format/
DParsed.java550 updateCheckConflict(LocalTime.MIDNIGHT, Period.ofDays(1)); in resolveTime()