/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestLocalTime.java | 108 check(LocalTime.NOON, 12, 0, 0, 0); in constant_MIDDAY() 113 assertSame(LocalTime.NOON, LocalTime.NOON); in constant_MIDDAY_same() 114 assertSame(LocalTime.NOON, LocalTime.of(12, 0)); in constant_MIDDAY_same() 135 assertSame(LocalTime.NOON, LocalTime.NOON); in constant_MAX_TIME_same() 136 assertSame(LocalTime.NOON, LocalTime.of(12, 0)); in constant_MAX_TIME_same()
|
D | TestLocalDateTime.java | 165 assertSame(t.toLocalTime(), LocalTime.NOON); in test_withHour_toMidday() 183 assertSame(t.toLocalTime(), LocalTime.NOON); in test_withMinute_toMidday() 201 assertSame(t.toLocalTime(), LocalTime.NOON); in test_withSecond_toMidday() 219 assertSame(t.toLocalTime(), LocalTime.NOON); in test_withNanoOfSecond_toMidday() 279 assertSame(t.toLocalTime(), LocalTime.NOON); in test_plusHours_toMidday() 303 assertSame(t.toLocalTime(), LocalTime.NOON); in test_plusMinutes_toMidday() 327 assertSame(t.toLocalTime(), LocalTime.NOON); in test_plusSeconds_toMidday() 351 assertSame(t.toLocalTime(), LocalTime.NOON); in test_plusNanos_toMidday() 411 assertSame(t.toLocalTime(), LocalTime.NOON); in test_minusHours_toMidday() 435 assertSame(t.toLocalTime(), LocalTime.NOON); in test_minusMinutes_toMidday() [all …]
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKChronoLocalDateTime.java | 116 ChronoLocalDateTime<?> cdt = chrono.date(refDate).atTime(LocalTime.NOON); in test_badWithAdjusterChrono() 119 ChronoLocalDateTime<?> cdt2 = chrono2.date(refDate).atTime(LocalTime.NOON); in test_badWithAdjusterChrono() 140 ChronoLocalDateTime<?> cdt = chrono.date(refDate).atTime(LocalTime.NOON); in test_badPlusAdjusterChrono() 143 ChronoLocalDateTime<?> cdt2 = chrono2.date(refDate).atTime(LocalTime.NOON); in test_badPlusAdjusterChrono() 164 ChronoLocalDateTime<?> cdt = chrono.date(refDate).atTime(LocalTime.NOON); in test_badMinusAdjusterChrono() 167 ChronoLocalDateTime<?> cdt2 = chrono2.date(refDate).atTime(LocalTime.NOON); in test_badMinusAdjusterChrono() 188 ChronoLocalDateTime<?> cdt = chrono.date(refDate).atTime(LocalTime.NOON); in test_badPlusTemporalUnitChrono() 191 ChronoLocalDateTime<?> cdt2 = chrono2.date(refDate).atTime(LocalTime.NOON); in test_badPlusTemporalUnitChrono() 212 ChronoLocalDateTime<?> cdt = chrono.date(refDate).atTime(LocalTime.NOON); in test_badMinusTemporalUnitChrono() 215 ChronoLocalDateTime<?> cdt2 = chrono2.date(refDate).atTime(LocalTime.NOON); in test_badMinusTemporalUnitChrono() [all …]
|
D | TCKChronoZonedDateTime.java | 118 … ChronoZonedDateTime<?> czdt = chrono.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); in test_badWithAdjusterChrono() 121 …ChronoZonedDateTime<?> czdt2 = chrono2.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); in test_badWithAdjusterChrono() 141 … ChronoZonedDateTime<?> czdt = chrono.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); in test_badPlusAdjusterChrono() 144 …ChronoZonedDateTime<?> czdt2 = chrono2.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); in test_badPlusAdjusterChrono() 165 … ChronoZonedDateTime<?> czdt = chrono.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); in test_badMinusAdjusterChrono() 168 …ChronoZonedDateTime<?> czdt2 = chrono2.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); in test_badMinusAdjusterChrono() 189 … ChronoZonedDateTime<?> czdt = chrono.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); in test_badPlusTemporalUnitChrono() 192 …ChronoZonedDateTime<?> czdt2 = chrono2.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); in test_badPlusTemporalUnitChrono() 213 … ChronoZonedDateTime<?> czdt = chrono.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); in test_badMinusTemporalUnitChrono() 216 …ChronoZonedDateTime<?> czdt2 = chrono2.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); in test_badMinusTemporalUnitChrono() [all …]
|
D | TCKMinguoChronology.java | 209 ChronoLocalDateTime<MinguoDate> hdt = hd.atTime(LocalTime.NOON); in test_MinguoDate() 229 ChronoLocalDateTime<MinguoDate> h3 = h2.atTime(LocalTime.NOON); in test_MinguoChrono()
|
/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() 219 check(LocalTime.NOON, 12, 0, 0, 0); in constant_MIDDAY() 732 … {LocalTime.of(23, 5, 20, 1000), LocalTime.NOON, LocalTime.of(23, 5, 20, 1000), null}, in data_adjustInto() 736 {LocalTime.NOON, LocalTime.of(23, 5, 20, 1000), LocalTime.of(12, 0, 0), null}, in data_adjustInto() 1137 assertEquals(t, LocalTime.NOON); in test_withHour_toMidday_equal() 1177 assertEquals(t, LocalTime.NOON); in test_withMinute_toMidday_equals() 1217 assertEquals(t, LocalTime.NOON); in test_withSecond_toMidday_equal() 1261 assertEquals(t, LocalTime.NOON); in test_withNanoOfSecond_toMidday_equal() 1514 assertEquals(t, LocalTime.NOON); in test_plusHours_toMidday_equal() 1590 assertEquals(t, LocalTime.NOON); in test_plusMinutes_toMidday_equal() [all …]
|
D | TCKLocalDateTime.java | 3058 LocalTime.NOON,
|
/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
D | TestIsoWeekFields.java | 72 assertEquals(weekField.isSupportedBy(LocalTime.NOON), false); in test_WOWBY_isSupportedBy() 113 assertEquals(yearField.isSupportedBy(LocalTime.NOON), false); in test_WBY_isSupportedBy()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeParseResolver.java | 1036 …teTimeFormatterBuilder().appendValue(new ResolvingField(mdt.atTime(LocalTime.NOON))).toFormatter(); in test_fieldResolvesToChronoLocalDateTime_overrideChrono_matches() 1040 assertEquals(accessor.query(TemporalQueries.localTime()), LocalTime.NOON); in test_fieldResolvesToChronoLocalDateTime_overrideChrono_matches() 1046 … ChronoLocalDateTime<?> cldt = ThaiBuddhistChronology.INSTANCE.dateNow().atTime(LocalTime.NOON); in test_fieldResolvesToChronoLocalDateTime_noOverrideChrono_wrongChrono() 1053 … ChronoLocalDateTime<?> cldt = ThaiBuddhistChronology.INSTANCE.dateNow().atTime(LocalTime.NOON); in test_fieldResolvesToChronoLocalDateTime_overrideChrono_wrongChrono() 1074 ChronoZonedDateTime<MinguoDate> mzdt = mdt.atTime(LocalTime.NOON).atZone(EUROPE_PARIS); in test_fieldResolvesToChronoZonedDateTime_overrideChrono_matches() 1079 assertEquals(accessor.query(TemporalQueries.localTime()), LocalTime.NOON); in test_fieldResolvesToChronoZonedDateTime_overrideChrono_matches() 1086 …Time<?> cldt = ThaiBuddhistChronology.INSTANCE.dateNow().atTime(LocalTime.NOON).atZone(EUROPE_PARI… in test_fieldResolvesToChronoZonedDateTime_noOverrideChrono_wrongChrono() 1093 …Time<?> cldt = ThaiBuddhistChronology.INSTANCE.dateNow().atTime(LocalTime.NOON).atZone(EUROPE_PARI… in test_fieldResolvesToChronoZonedDateTime_overrideChrono_wrongChrono()
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestExampleCode.java | 182 ChronoLocalDateTime<?> cldt = date.atTime(LocalTime.NOON); in test_unknownChronologyWithDateTime()
|
D | TestUmmAlQuraChronology.java | 461 ChronoLocalDateTime<HijrahDate> hdt = hd.atTime(LocalTime.NOON); in test_formatterOfLocalizedDate()
|
/libcore/ojluni/src/main/java/java/time/ |
D | LocalTime.java | 139 public static final LocalTime NOON; field in LocalTime 149 NOON = HOURS[12];
|