Home
last modified time | relevance | path

Searched refs:ChronoLocalDateTime (Results 1 – 25 of 27) 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.java120 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 …]
DChronoLocalDateTimeImpl.java101 implements ChronoLocalDateTime<D>, Temporal, TemporalAdjuster, Serializable {
374ChronoLocalDateTime<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()
DChronoZonedDateTimeImpl.java256 public ChronoLocalDateTime<D> toLocalDateTime() { in toLocalDateTime()
357 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()
DChronology.java470 … default ChronoLocalDateTime<? extends ChronoLocalDate> localDateTime(TemporalAccessor temporal) { in localDateTime()
DJapaneseDate.java666 public final ChronoLocalDateTime<JapaneseDate> atTime(LocalTime localTime) { in atTime()
667 return (ChronoLocalDateTime<JapaneseDate>)super.atTime(localTime); in atTime()
DChronoLocalDate.java653 default ChronoLocalDateTime<?> atTime(LocalTime localTime) { in atTime()
DHijrahChronology.java528 public ChronoLocalDateTime<HijrahDate> localDateTime(TemporalAccessor temporal) { in localDateTime()
529 return (ChronoLocalDateTime<HijrahDate>) super.localDateTime(temporal); in localDateTime()
DChronoZonedDateTime.java247 ChronoLocalDateTime<D> toLocalDateTime(); in toLocalDateTime()
DAbstractChronology.java139 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/
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/temporal/
DTemporalUnit.java69 import java.time.chrono.ChronoLocalDateTime;
175 if (temporal instanceof ChronoLocalDateTime || temporal instanceof ChronoZonedDateTime) { in isSupportedBy()
/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()
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/
DTCKChronoLocalDateTimeSerialization.java64 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/
DParsed.java90 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/
DTestFormatter.java34 import java.time.chrono.ChronoLocalDateTime;
94 ChronoLocalDateTime<?> ldt0 = now.atTime(LocalTime.now()); in test()

12