Home
last modified time | relevance | path

Searched refs:ChronoLocalDateTime (Results 1 – 25 of 30) sorted by relevance

12

/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKChronoLocalDateTime.java72 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 …]
DTCKMinguoChronology.java77 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()
427ChronoLocalDateTime<MinguoDate> result = MinguoChronology.INSTANCE.localDateTime(accessor); in test_localDateTime()
433ChronoLocalDateTime<MinguoDate> result = MinguoChronology.INSTANCE.localDateTime(accessor); in test_localDateTime()
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoLocalDateTime.java121 public interface ChronoLocalDateTime<D extends ChronoLocalDate> interface
122 extends Temporal, TemporalAdjuster, Comparable<ChronoLocalDateTime<?>> {
139 static Comparator<ChronoLocalDateTime<?>> timeLineOrder() { in timeLineOrder()
140 …return (Comparator<ChronoLocalDateTime<? extends ChronoLocalDate>> & Serializable) (dateTime1, dat… in timeLineOrder()
171 static ChronoLocalDateTime<?> from(TemporalAccessor temporal) { in from()
172 if (temporal instanceof ChronoLocalDateTime) { in from()
173 return (ChronoLocalDateTime<?>) temporal; in from()
272 default ChronoLocalDateTime<D> with(TemporalAdjuster adjuster) { in with()
282 ChronoLocalDateTime<D> with(TemporalField field, long newValue); in with()
290 default ChronoLocalDateTime<D> plus(TemporalAmount amount) { in plus()
[all …]
DChronoLocalDateTimeImpl.java101 implements ChronoLocalDateTime<D>, Temporal, TemporalAdjuster, Serializable {
369ChronoLocalDateTime<D> end = (ChronoLocalDateTime<D>) getChronology().localDateTime(endExclusive); in until()
428 …static ChronoLocalDateTime<?> readExternal(ObjectInput in) throws IOException, ClassNotFoundExcept… in readExternal()
440 if (obj instanceof ChronoLocalDateTime) { in equals()
441 return compareTo((ChronoLocalDateTime<?>) obj) == 0; in equals()
DChronoZonedDateTimeImpl.java257 public ChronoLocalDateTime<D> toLocalDateTime() { in toLocalDateTime()
359 ChronoLocalDateTime<?> dateTime = (ChronoLocalDateTime<?>) in.readObject(); in readExternal()
DMinguoChronology.java262 public ChronoLocalDateTime<MinguoDate> localDateTime(TemporalAccessor temporal) { in localDateTime()
263 return (ChronoLocalDateTime<MinguoDate>)super.localDateTime(temporal); in localDateTime()
DThaiBuddhistChronology.java298 public ChronoLocalDateTime<ThaiBuddhistDate> localDateTime(TemporalAccessor temporal) { in localDateTime()
299 return (ChronoLocalDateTime<ThaiBuddhistDate>)super.localDateTime(temporal); in localDateTime()
DMinguoDate.java421 public final ChronoLocalDateTime<MinguoDate> atTime(LocalTime localTime) { in atTime()
422 return (ChronoLocalDateTime<MinguoDate>)super.atTime(localTime); in atTime()
DThaiBuddhistDate.java421 public final ChronoLocalDateTime<ThaiBuddhistDate> atTime(LocalTime localTime) { in atTime()
422 return (ChronoLocalDateTime<ThaiBuddhistDate>) super.atTime(localTime); in atTime()
DJapaneseChronology.java318 public ChronoLocalDateTime<JapaneseDate> localDateTime(TemporalAccessor temporal) { in localDateTime()
319 return (ChronoLocalDateTime<JapaneseDate>)super.localDateTime(temporal); in localDateTime()
DHijrahDate.java582 public final ChronoLocalDateTime<HijrahDate> atTime(LocalTime localTime) { in atTime()
583 return (ChronoLocalDateTime<HijrahDate>)super.atTime(localTime); in atTime()
DJapaneseDate.java662 public final ChronoLocalDateTime<JapaneseDate> atTime(LocalTime localTime) { in atTime()
663 return (ChronoLocalDateTime<JapaneseDate>)super.atTime(localTime); in atTime()
DChronoLocalDate.java656 default ChronoLocalDateTime<?> atTime(LocalTime localTime) { in atTime()
DHijrahChronology.java474 public ChronoLocalDateTime<HijrahDate> localDateTime(TemporalAccessor temporal) { in localDateTime()
475 return (ChronoLocalDateTime<HijrahDate>) super.localDateTime(temporal); in localDateTime()
DChronology.java475 … default ChronoLocalDateTime<? extends ChronoLocalDate> localDateTime(TemporalAccessor temporal) { in localDateTime()
DChronoZonedDateTime.java254 ChronoLocalDateTime<D> toLocalDateTime(); in toLocalDateTime()
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestExampleCode.java66 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()
DTestChronoLocalDate.java65 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) {
DTestUmmAlQuraChronology.java47 import java.time.chrono.ChronoLocalDateTime;
461 ChronoLocalDateTime<HijrahDate> hdt = hd.atTime(LocalTime.NOON); in test_formatterOfLocalizedDate()
721ChronoLocalDateTime<HijrahDate> result = HijrahChronology.INSTANCE.localDateTime(accessor); in test_localDateTime()
727ChronoLocalDateTime<HijrahDate> result = HijrahChronology.INSTANCE.localDateTime(accessor); in test_localDateTime()
/libcore/ojluni/src/main/java/java/time/
DLocalDateTime.java81 import java.time.chrono.ChronoLocalDateTime;
130 implements Temporal, TemporalAdjuster, ChronoLocalDateTime<LocalDate>, Serializable {
614 return ChronoLocalDateTime.super.isSupported(unit); in isSupported()
682 return ChronoLocalDateTime.super.get(field); in get()
1586 return ChronoLocalDateTime.super.query(query); in query()
1616 return ChronoLocalDateTime.super.adjustInto(temporal); in adjustInto()
1806 public int compareTo(ChronoLocalDateTime<?> other) { in compareTo()
1810 return ChronoLocalDateTime.super.compareTo(other); in compareTo()
1843 public boolean isAfter(ChronoLocalDateTime<?> other) { in isAfter()
1847 return ChronoLocalDateTime.super.isAfter(other); in isAfter()
[all …]
/libcore/ojluni/src/main/java/java/time/temporal/
DTemporalUnit.java69 import java.time.chrono.ChronoLocalDateTime;
175 if (temporal instanceof ChronoLocalDateTime || temporal instanceof ChronoZonedDateTime) { in isSupportedBy()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/serial/
DTCKChronoLocalDateTimeSerialization.java64 import java.time.chrono.ChronoLocalDateTime;
99 ChronoLocalDateTime<?> original = chrono.date(ref).atTime(ref.toLocalTime()); in test_ChronoLocalDateTimeSerialization()
/libcore/luni/src/test/java/libcore/java/time/chrono/
DChronoZonedDateTimeTest.java32 import java.time.chrono.ChronoLocalDateTime;
81 ChronoLocalDateTime<JapaneseDate> chronoLocalDateTime = chrono.localDateTime(epochTime); in testFormat()
89 public ChronoLocalDateTime toLocalDateTime() { in toLocalDateTime()
/libcore/ojluni/src/test/java/time/test/java/util/
DTestFormatter.java37 import java.time.chrono.ChronoLocalDateTime;
99 ChronoLocalDateTime<?> ldt0 = now.atTime(LocalTime.now()); in test()
/libcore/ojluni/src/main/java/java/time/format/
DParsed.java91 import java.time.chrono.ChronoLocalDateTime;
293 if (resolvedObject instanceof ChronoLocalDateTime<?> cldt) { in resolveFields()

12