/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKChronoLocalDateTime.java | 72 import java.time.chrono.ChronoLocalDateTime; 116 ChronoLocalDateTime<?> cdt = chrono.date(refDate).atTime(LocalTime.NOON); in test_badWithAdjusterChrono() 119 ChronoLocalDateTime<?> cdt2 = chrono2.date(refDate).atTime(LocalTime.NOON); in test_badWithAdjusterChrono() 131 ChronoLocalDateTime<?> result = cdt.with(adjuster); 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() 155 ChronoLocalDateTime<?> result = cdt.plus(adjuster); 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() 179 ChronoLocalDateTime<?> result = cdt.minus(adjuster); in test_badMinusAdjusterChrono() [all …]
|
D | TCKMinguoChronology.java | 77 import java.time.chrono.ChronoLocalDateTime; 209 ChronoLocalDateTime<MinguoDate> hdt = hd.atTime(LocalTime.NOON); in test_MinguoDate() 219 ChronoLocalDateTime<MinguoDate> a2 = hzdt.toLocalDateTime(); in test_MinguoDate() 229 ChronoLocalDateTime<MinguoDate> h3 = h2.atTime(LocalTime.NOON); in test_MinguoChrono() 427 … ChronoLocalDateTime<MinguoDate> result = MinguoChronology.INSTANCE.localDateTime(accessor); in test_localDateTime() 433 … ChronoLocalDateTime<MinguoDate> result = MinguoChronology.INSTANCE.localDateTime(accessor); in test_localDateTime()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoLocalDateTime.java | 120 public interface ChronoLocalDateTime<D extends ChronoLocalDate> interface 121 extends Temporal, TemporalAdjuster, Comparable<ChronoLocalDateTime<?>> { 138 static Comparator<ChronoLocalDateTime<?>> timeLineOrder() { in timeLineOrder() 164 static ChronoLocalDateTime<?> from(TemporalAccessor temporal) { in from() 165 if (temporal instanceof ChronoLocalDateTime) { in from() 166 return (ChronoLocalDateTime<?>) temporal; in from() 265 default ChronoLocalDateTime<D> with(TemporalAdjuster adjuster) { in with() 275 ChronoLocalDateTime<D> with(TemporalField field, long newValue); in with() 283 default ChronoLocalDateTime<D> plus(TemporalAmount amount) { in plus() 293 ChronoLocalDateTime<D> plus(long amountToAdd, TemporalUnit unit); in plus() [all …]
|
D | ChronoLocalDateTimeImpl.java | 101 implements ChronoLocalDateTime<D>, Temporal, TemporalAdjuster, Serializable { 374 … ChronoLocalDateTime<D> end = (ChronoLocalDateTime<D>) getChronology().localDateTime(endExclusive); in until() 431 …static ChronoLocalDateTime<?> readExternal(ObjectInput in) throws IOException, ClassNotFoundExcept… in readExternal() 443 if (obj instanceof ChronoLocalDateTime) { in equals() 444 return compareTo((ChronoLocalDateTime<?>) obj) == 0; in equals()
|
D | ChronoZonedDateTimeImpl.java | 256 public ChronoLocalDateTime<D> toLocalDateTime() { in toLocalDateTime() 357 ChronoLocalDateTime<?> dateTime = (ChronoLocalDateTime<?>) in.readObject(); in readExternal()
|
D | MinguoChronology.java | 262 public ChronoLocalDateTime<MinguoDate> localDateTime(TemporalAccessor temporal) { in localDateTime() 263 return (ChronoLocalDateTime<MinguoDate>)super.localDateTime(temporal); in localDateTime()
|
D | ThaiBuddhistChronology.java | 298 public ChronoLocalDateTime<ThaiBuddhistDate> localDateTime(TemporalAccessor temporal) { in localDateTime() 299 return (ChronoLocalDateTime<ThaiBuddhistDate>)super.localDateTime(temporal); in localDateTime()
|
D | MinguoDate.java | 421 public final ChronoLocalDateTime<MinguoDate> atTime(LocalTime localTime) { in atTime() 422 return (ChronoLocalDateTime<MinguoDate>)super.atTime(localTime); in atTime()
|
D | ThaiBuddhistDate.java | 421 public final ChronoLocalDateTime<ThaiBuddhistDate> atTime(LocalTime localTime) { in atTime() 422 return (ChronoLocalDateTime<ThaiBuddhistDate>) super.atTime(localTime); in atTime()
|
D | JapaneseChronology.java | 318 public ChronoLocalDateTime<JapaneseDate> localDateTime(TemporalAccessor temporal) { in localDateTime() 319 return (ChronoLocalDateTime<JapaneseDate>)super.localDateTime(temporal); in localDateTime()
|
D | HijrahDate.java | 582 public final ChronoLocalDateTime<HijrahDate> atTime(LocalTime localTime) { in atTime() 583 return (ChronoLocalDateTime<HijrahDate>)super.atTime(localTime); in atTime()
|
D | Chronology.java | 470 … default ChronoLocalDateTime<? extends ChronoLocalDate> localDateTime(TemporalAccessor temporal) { in localDateTime()
|
D | JapaneseDate.java | 666 public final ChronoLocalDateTime<JapaneseDate> atTime(LocalTime localTime) { in atTime() 667 return (ChronoLocalDateTime<JapaneseDate>)super.atTime(localTime); in atTime()
|
D | ChronoLocalDate.java | 653 default ChronoLocalDateTime<?> atTime(LocalTime localTime) { in atTime()
|
D | HijrahChronology.java | 528 public ChronoLocalDateTime<HijrahDate> localDateTime(TemporalAccessor temporal) { in localDateTime() 529 return (ChronoLocalDateTime<HijrahDate>) super.localDateTime(temporal); in localDateTime()
|
D | ChronoZonedDateTime.java | 247 ChronoLocalDateTime<D> toLocalDateTime(); in toLocalDateTime()
|
D | AbstractChronology.java | 139 static final Comparator<ChronoLocalDateTime<? extends ChronoLocalDate>> DATE_TIME_ORDER = 140 …(Comparator<ChronoLocalDateTime<? extends ChronoLocalDate>> & Serializable) (dateTime1, dateTime2)…
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestExampleCode.java | 66 import java.time.chrono.ChronoLocalDateTime; 171 ChronoLocalDateTime<HijrahDate> hdt = hd2.atTime(LocalTime.MIDNIGHT); in HijrahExample1() 174 ChronoLocalDateTime<HijrahDate> hdt2 = zhdt.toLocalDateTime(); in HijrahExample1() 182 ChronoLocalDateTime<?> cldt = date.atTime(LocalTime.NOON); in test_unknownChronologyWithDateTime() 184 ChronoLocalDateTime<?> noonTomorrow = tomorrowNoon(ld); in test_unknownChronologyWithDateTime() 191 ChronoLocalDateTime<HijrahDate> noonTomorrow = tomorrowNoon(date); in test_library() 215 private <D extends ChronoLocalDate> ChronoLocalDateTime<D> tomorrowNoon(D date) { in tomorrowNoon() 216 return (ChronoLocalDateTime<D>) date.plus(1, ChronoUnit.DAYS).atTime(LocalTime.of(12, 0)); in tomorrowNoon()
|
D | TestChronoLocalDate.java | 65 import java.time.chrono.ChronoLocalDateTime; 188 ChronoLocalDateTime<?> ldt = chrono.localDateTime(now); 195 ChronoLocalDateTime<? extends ChronoLocalDate> ldt = chrono.localDateTime(now); 199 …private <D extends ChronoLocalDate> ChronoLocalDateTime<D> processCLDT(ChronoLocalDateTime<D> dt) {
|
D | TestUmmAlQuraChronology.java | 47 import java.time.chrono.ChronoLocalDateTime; 461 ChronoLocalDateTime<HijrahDate> hdt = hd.atTime(LocalTime.NOON); in test_formatterOfLocalizedDate() 721 … ChronoLocalDateTime<HijrahDate> result = HijrahChronology.INSTANCE.localDateTime(accessor); in test_localDateTime() 727 … ChronoLocalDateTime<HijrahDate> result = HijrahChronology.INSTANCE.localDateTime(accessor); in test_localDateTime()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | TemporalUnit.java | 69 import java.time.chrono.ChronoLocalDateTime; 175 if (temporal instanceof ChronoLocalDateTime || temporal instanceof ChronoZonedDateTime) { in isSupportedBy()
|
/libcore/ojluni/src/main/java/java/time/ |
D | LocalDateTime.java | 81 import java.time.chrono.ChronoLocalDateTime; 130 implements Temporal, TemporalAdjuster, ChronoLocalDateTime<LocalDate>, Serializable { 614 return ChronoLocalDateTime.super.isSupported(unit); in isSupported() 684 return ChronoLocalDateTime.super.get(field); in get() 1593 return ChronoLocalDateTime.super.query(query); in query() 1623 return ChronoLocalDateTime.super.adjustInto(temporal); in adjustInto() 1813 public int compareTo(ChronoLocalDateTime<?> other) { in compareTo() 1817 return ChronoLocalDateTime.super.compareTo(other); in compareTo() 1850 public boolean isAfter(ChronoLocalDateTime<?> other) { in isAfter() 1854 return ChronoLocalDateTime.super.isAfter(other); in isAfter() [all …]
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/serial/ |
D | TCKChronoLocalDateTimeSerialization.java | 64 import java.time.chrono.ChronoLocalDateTime; 99 ChronoLocalDateTime<?> original = chrono.date(ref).atTime(ref.toLocalTime()); in test_ChronoLocalDateTimeSerialization()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | Parsed.java | 90 import java.time.chrono.ChronoLocalDateTime; 279 if (resolvedObject instanceof ChronoLocalDateTime) { in resolveFields() 280 ChronoLocalDateTime<?> cldt = (ChronoLocalDateTime<?>) resolvedObject; in resolveFields()
|
/libcore/ojluni/src/test/java/time/test/java/util/ |
D | TestFormatter.java | 34 import java.time.chrono.ChronoLocalDateTime; 94 ChronoLocalDateTime<?> ldt0 = now.atTime(LocalTime.now()); in test()
|