Home
last modified time | relevance | path

Searched refs:ChronoZonedDateTime (Results 1 – 23 of 23) sorted by relevance

/libcore/ojluni/src/main/java/java/time/chrono/
DChronoZonedDateTime.java121 public interface ChronoZonedDateTime<D extends ChronoLocalDate> interface
122 extends Temporal, Comparable<ChronoZonedDateTime<?>> {
139 static Comparator<ChronoZonedDateTime<?>> timeLineOrder() { in timeLineOrder()
165 static ChronoZonedDateTime<?> from(TemporalAccessor temporal) { in from()
166 if (temporal instanceof ChronoZonedDateTime) { in from()
167 return (ChronoZonedDateTime<?>) temporal; in from()
298 ChronoZonedDateTime<D> withEarlierOffsetAtOverlap(); in withEarlierOffsetAtOverlap()
318 ChronoZonedDateTime<D> withLaterOffsetAtOverlap(); in withLaterOffsetAtOverlap()
335 ChronoZonedDateTime<D> withZoneSameLocal(ZoneId zone); in withZoneSameLocal()
354 ChronoZonedDateTime<D> withZoneSameInstant(ZoneId zone); in withZoneSameInstant()
[all …]
DChronoZonedDateTimeImpl.java105 implements ChronoZonedDateTime<D>, Serializable {
134 static <R extends ChronoLocalDate> ChronoZonedDateTime<R> ofBest( in ofBest()
231 public ChronoZonedDateTime<D> withEarlierOffsetAtOverlap() { in withEarlierOffsetAtOverlap()
243 public ChronoZonedDateTime<D> withLaterOffsetAtOverlap() { in withLaterOffsetAtOverlap()
266 public ChronoZonedDateTime<D> withZoneSameLocal(ZoneId zone) { in withZoneSameLocal()
271 public ChronoZonedDateTime<D> withZoneSameInstant(ZoneId zone) { in withZoneSameInstant()
284 public ChronoZonedDateTime<D> with(TemporalField field, long newValue) { in with()
301 public ChronoZonedDateTime<D> plus(long amountToAdd, TemporalUnit unit) { in plus()
313ChronoZonedDateTime<D> end = (ChronoZonedDateTime<D>) getChronology().zonedDateTime(endExclusive); in until()
356 …static ChronoZonedDateTime<?> readExternal(ObjectInput in) throws IOException, ClassNotFoundExcept… in readExternal()
[all …]
DMinguoChronology.java268 public ChronoZonedDateTime<MinguoDate> zonedDateTime(TemporalAccessor temporal) { in zonedDateTime()
269 return (ChronoZonedDateTime<MinguoDate>)super.zonedDateTime(temporal); in zonedDateTime()
274 public ChronoZonedDateTime<MinguoDate> zonedDateTime(Instant instant, ZoneId zone) { in zonedDateTime()
275 return (ChronoZonedDateTime<MinguoDate>)super.zonedDateTime(instant, zone); in zonedDateTime()
DThaiBuddhistChronology.java304 public ChronoZonedDateTime<ThaiBuddhistDate> zonedDateTime(TemporalAccessor temporal) { in zonedDateTime()
305 return (ChronoZonedDateTime<ThaiBuddhistDate>)super.zonedDateTime(temporal); in zonedDateTime()
310 public ChronoZonedDateTime<ThaiBuddhistDate> zonedDateTime(Instant instant, ZoneId zone) { in zonedDateTime()
311 return (ChronoZonedDateTime<ThaiBuddhistDate>)super.zonedDateTime(instant, zone); in zonedDateTime()
DJapaneseChronology.java324 public ChronoZonedDateTime<JapaneseDate> zonedDateTime(TemporalAccessor temporal) { in zonedDateTime()
325 return (ChronoZonedDateTime<JapaneseDate>)super.zonedDateTime(temporal); in zonedDateTime()
330 public ChronoZonedDateTime<JapaneseDate> zonedDateTime(Instant instant, ZoneId zone) { in zonedDateTime()
331 return (ChronoZonedDateTime<JapaneseDate>)super.zonedDateTime(instant, zone); in zonedDateTime()
DChronology.java502 … default ChronoZonedDateTime<? extends ChronoLocalDate> zonedDateTime(TemporalAccessor temporal) { in zonedDateTime()
528 …default ChronoZonedDateTime<? extends ChronoLocalDate> zonedDateTime(Instant instant, ZoneId zone)… in zonedDateTime()
DHijrahChronology.java534 public ChronoZonedDateTime<HijrahDate> zonedDateTime(TemporalAccessor temporal) { in zonedDateTime()
535 return (ChronoZonedDateTime<HijrahDate>) super.zonedDateTime(temporal); in zonedDateTime()
540 public ChronoZonedDateTime<HijrahDate> zonedDateTime(Instant instant, ZoneId zone) { in zonedDateTime()
541 return (ChronoZonedDateTime<HijrahDate>) super.zonedDateTime(instant, zone); in zonedDateTime()
DChronoLocalDateTime.java430 ChronoZonedDateTime<D> atZone(ZoneId zone); in atZone()
DAbstractChronology.java150 static final Comparator<ChronoZonedDateTime<?>> INSTANT_ORDER =
151 (Comparator<ChronoZonedDateTime<?>> & Serializable) (dateTime1, dateTime2) -> {
DChronoLocalDateTimeImpl.java365 public ChronoZonedDateTime<D> atZone(ZoneId zone) { in atZone()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKChronoZonedDateTime.java73 import java.time.chrono.ChronoZonedDateTime;
118ChronoZonedDateTime<?> czdt = chrono.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); in test_badWithAdjusterChrono()
121ChronoZonedDateTime<?> czdt2 = chrono2.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); in test_badWithAdjusterChrono()
132 ChronoZonedDateTime<?> result = czdt.with(adjuster); in test_badWithAdjusterChrono()
141ChronoZonedDateTime<?> czdt = chrono.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); in test_badPlusAdjusterChrono()
144ChronoZonedDateTime<?> czdt2 = chrono2.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); in test_badPlusAdjusterChrono()
156 ChronoZonedDateTime<?> result = czdt.plus(adjuster); in test_badPlusAdjusterChrono()
165ChronoZonedDateTime<?> czdt = chrono.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); in test_badMinusAdjusterChrono()
168ChronoZonedDateTime<?> czdt2 = chrono2.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); in test_badMinusAdjusterChrono()
180 ChronoZonedDateTime<?> result = czdt.minus(adjuster); in test_badMinusAdjusterChrono()
[all …]
DTCKMinguoChronology.java79 import java.time.chrono.ChronoZonedDateTime;
211 ChronoZonedDateTime<MinguoDate> hzdt = hdt.atZone(zo); in test_MinguoDate()
231 ChronoZonedDateTime<MinguoDate> h4 = h3.atZone(ZoneOffset.UTC); in test_MinguoChrono()
461ChronoZonedDateTime<MinguoDate> result = MinguoChronology.INSTANCE.zonedDateTime(accessor); in test_zonedDateTime()
468ChronoZonedDateTime<MinguoDate> result = MinguoChronology.INSTANCE.zonedDateTime(accessor); in test_zonedDateTime()
484ChronoZonedDateTime<MinguoDate> result = MinguoChronology.INSTANCE.zonedDateTime(offsetDateTime.to… in test_Instant_zonedDateTime()
/libcore/ojluni/src/test/java/time/test/java/util/
DTestFormatter.java35 import java.time.chrono.ChronoZonedDateTime;
96 ChronoZonedDateTime<?> zdt0 = ldt0.atZone(ZoneId.of("America/Los_Angeles")); in test()
97 ChronoZonedDateTime<?>[] zdts = new ChronoZonedDateTime<?>[] { in test()
105 for (ChronoZonedDateTime<?> zdt : zdts) { in test()
182 ChronoZonedDateTime<?> zdt, Calendar cal) { in testDate()
194 ChronoZonedDateTime<?> zdt, Calendar cal) { in testTime()
219 private void testZoneId(Locale locale, ChronoZonedDateTime<?> zdt, Calendar cal) { in testZoneId()
244 ChronoZonedDateTime<?> zdt, Calendar cal) { in testInstant()
/libcore/ojluni/src/main/java/java/time/temporal/
DTemporalUnit.java70 import java.time.chrono.ChronoZonedDateTime;
175 if (temporal instanceof ChronoLocalDateTime || temporal instanceof ChronoZonedDateTime) { in isSupportedBy()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/serial/
DTCKChronoZonedDateTimeSerialization.java62 import java.time.chrono.ChronoZonedDateTime;
99ChronoZonedDateTime<?> original = chrono.date(ref).atTime(ref.toLocalTime()).atZone(ref.getZone()); in test_ChronoZonedDateTimeSerialization()
/libcore/luni/src/test/java/libcore/java/time/chrono/
DJapaneseChronologyTest.java27 import java.time.chrono.ChronoZonedDateTime;
49 ChronoZonedDateTime<JapaneseDate> result = JapaneseChronology.INSTANCE in test_zonedDateTime()
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestExampleCode.java67 import java.time.chrono.ChronoZonedDateTime;
172 ChronoZonedDateTime<HijrahDate> zhdt = hdt.atZone(ZoneId.of("GMT")); in HijrahExample1()
DTestUmmAlQuraChronology.java49 import java.time.chrono.ChronoZonedDateTime;
669ChronoZonedDateTime<HijrahDate> result = HijrahChronology.INSTANCE.zonedDateTime(accessor); in test_zonedDateTime()
676ChronoZonedDateTime<HijrahDate> result = HijrahChronology.INSTANCE.zonedDateTime(accessor); in test_zonedDateTime()
692ChronoZonedDateTime<HijrahDate> result = HijrahChronology.INSTANCE.zonedDateTime(offsetDateTime.to… in test_Instant_zonedDateTime()
/libcore/ojluni/src/main/java/java/time/format/
DParsed.java91 import java.time.chrono.ChronoZonedDateTime;
270 if (resolvedObject instanceof ChronoZonedDateTime) { in resolveFields()
271 ChronoZonedDateTime<?> czdt = (ChronoZonedDateTime<?>) resolvedObject; in resolveFields()
344 ChronoZonedDateTime<?> zdt = chrono.zonedDateTime(instant, selectedZone); in resolveInstantFields0()
/libcore/ojluni/src/main/java/java/time/
DZonedDateTime.java74 import java.time.chrono.ChronoZonedDateTime;
159 implements Temporal, ChronoZonedDateTime<LocalDate>, Serializable {
739 return ChronoZonedDateTime.super.isSupported(unit); in isSupported()
816 return ChronoZonedDateTime.super.get(field); in get()
2042 return ChronoZonedDateTime.super.query(query); in query()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeParseResolver.java107 import java.time.chrono.ChronoZonedDateTime;
1074 ChronoZonedDateTime<MinguoDate> mzdt = mdt.atTime(LocalTime.NOON).atZone(EUROPE_PARIS); in test_fieldResolvesToChronoZonedDateTime_overrideChrono_matches()
1086ChronoZonedDateTime<?> cldt = ThaiBuddhistChronology.INSTANCE.dateNow().atTime(LocalTime.NOON).atZ… in test_fieldResolvesToChronoZonedDateTime_noOverrideChrono_wrongChrono()
1093ChronoZonedDateTime<?> cldt = ThaiBuddhistChronology.INSTANCE.dateNow().atTime(LocalTime.NOON).atZ… in test_fieldResolvesToChronoZonedDateTime_overrideChrono_wrongChrono()
DTCKDateTimeFormatter.java88 import java.time.chrono.ChronoZonedDateTime;
285ChronoZonedDateTime<ThaiBuddhistDate> thaiZdt = ThaiBuddhistChronology.INSTANCE.zonedDateTime(zdt); in data_format_withZone_withChronology()
/libcore/
Dopenjdk_java_files.bp799 "ojluni/src/main/java/java/time/chrono/ChronoZonedDateTime.java",