/libcore/luni/src/test/java/libcore/java/time/ |
D | ZonedDateTimeTest.java | 100 ZonedDateTime zonedDateTime = ZonedDateTime.ofInstant(localDateTime, offset, zone); in checkOfInstant() local 102 localDateTime, offset, zone, zonedDateTime); in checkOfInstant() 105 assertEquals("zone" + message, zone, zonedDateTime.getZone()); in checkOfInstant() 107 assertEquals("offset" + message, expectedOffset, zonedDateTime.getOffset()); in checkOfInstant() 108 assertEquals("localDateTime" + message, expectedDateTime, zonedDateTime.toLocalDateTime()); in checkOfInstant() 113 expectedDateTime, zonedDateTime.toLocalDateTime()); in checkOfInstant() 170 ZonedDateTime zonedDateTime = ZonedDateTime.ofLocal(localDateTime, zone, preferredOffset); in checkOfLocal() local 172 localDateTime, zone, preferredOffset, zonedDateTime); in checkOfLocal() 175 assertEquals("zone" + message, zone, zonedDateTime.getZone()); in checkOfLocal() 176 assertEquals("offset" + message, expectedOffset, zonedDateTime.getOffset()); in checkOfLocal() [all …]
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | IsoChronologyTest.java | 100 ZonedDateTime zonedDateTime = ZonedDateTime in test_zonedDateTime() local 106 .zonedDateTime(zonedDateTime.toInstant(), zonedDateTime.getZone()); in test_zonedDateTime() 114 IsoChronology.INSTANCE.zonedDateTime(null, ZoneOffset.UTC); in test_zonedDateTime_nullInstant() 119 IsoChronology.INSTANCE.zonedDateTime(Instant.EPOCH, null); in test_zonedDateTime_nullZone()
|
D | JapaneseChronologyTest.java | 46 ZonedDateTime zonedDateTime = ZonedDateTime in test_zonedDateTime() local 50 .zonedDateTime(zonedDateTime.toInstant(), zonedDateTime.getZone()); in test_zonedDateTime() 58 JapaneseChronology.INSTANCE.zonedDateTime(null, ZoneOffset.UTC); in test_zonedDateTime_nullInstant() 63 JapaneseChronology.INSTANCE.zonedDateTime(Instant.EPOCH, null); in test_zonedDateTime_nullZone()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | MinguoChronology.java | 268 public ChronoZonedDateTime<MinguoDate> zonedDateTime(TemporalAccessor temporal) { in zonedDateTime() method in MinguoChronology 269 return (ChronoZonedDateTime<MinguoDate>)super.zonedDateTime(temporal); in zonedDateTime() 274 public ChronoZonedDateTime<MinguoDate> zonedDateTime(Instant instant, ZoneId zone) { in zonedDateTime() method in MinguoChronology 275 return (ChronoZonedDateTime<MinguoDate>)super.zonedDateTime(instant, zone); in zonedDateTime()
|
D | ThaiBuddhistChronology.java | 304 public ChronoZonedDateTime<ThaiBuddhistDate> zonedDateTime(TemporalAccessor temporal) { in zonedDateTime() method in ThaiBuddhistChronology 305 return (ChronoZonedDateTime<ThaiBuddhistDate>)super.zonedDateTime(temporal); in zonedDateTime() 310 public ChronoZonedDateTime<ThaiBuddhistDate> zonedDateTime(Instant instant, ZoneId zone) { in zonedDateTime() method in ThaiBuddhistChronology 311 return (ChronoZonedDateTime<ThaiBuddhistDate>)super.zonedDateTime(instant, zone); in zonedDateTime()
|
D | Chronology.java | 502 … default ChronoZonedDateTime<? extends ChronoLocalDate> zonedDateTime(TemporalAccessor temporal) { in zonedDateTime() method 507 return zonedDateTime(instant, zone); in zonedDateTime() 528 …default ChronoZonedDateTime<? extends ChronoLocalDate> zonedDateTime(Instant instant, ZoneId zone)… in zonedDateTime() method
|
D | JapaneseChronology.java | 324 public ChronoZonedDateTime<JapaneseDate> zonedDateTime(TemporalAccessor temporal) { in zonedDateTime() method in JapaneseChronology 325 return (ChronoZonedDateTime<JapaneseDate>)super.zonedDateTime(temporal); in zonedDateTime() 330 public ChronoZonedDateTime<JapaneseDate> zonedDateTime(Instant instant, ZoneId zone) { in zonedDateTime() method in JapaneseChronology 331 return (ChronoZonedDateTime<JapaneseDate>)super.zonedDateTime(instant, zone); in zonedDateTime()
|
D | HijrahChronology.java | 534 public ChronoZonedDateTime<HijrahDate> zonedDateTime(TemporalAccessor temporal) { in zonedDateTime() method in HijrahChronology 535 return (ChronoZonedDateTime<HijrahDate>) super.zonedDateTime(temporal); in zonedDateTime() 540 public ChronoZonedDateTime<HijrahDate> zonedDateTime(Instant instant, ZoneId zone) { in zonedDateTime() method in HijrahChronology 541 return (ChronoZonedDateTime<HijrahDate>) super.zonedDateTime(instant, zone); in zonedDateTime()
|
D | IsoChronology.java | 290 public ZonedDateTime zonedDateTime(TemporalAccessor temporal) { in zonedDateTime() method in IsoChronology 305 public ZonedDateTime zonedDateTime(Instant instant, ZoneId zone) { in zonedDateTime() method in IsoChronology
|
D | ChronoZonedDateTime.java | 174 return chrono.zonedDateTime(temporal); in from()
|
D | ChronoZonedDateTimeImpl.java | 313 … ChronoZonedDateTime<D> end = (ChronoZonedDateTime<D>) getChronology().zonedDateTime(endExclusive); in until()
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestUmmAlQuraChronology.java | 669 … ChronoZonedDateTime<HijrahDate> result = HijrahChronology.INSTANCE.zonedDateTime(accessor); in test_zonedDateTime() 676 … ChronoZonedDateTime<HijrahDate> result = HijrahChronology.INSTANCE.zonedDateTime(accessor); in test_zonedDateTime() 690 ZonedDateTime zonedDateTime = ZonedDateTime.of(2012, 2, 29, 2, 7, 1, 1, ZONE_RIYADH); in test_Instant_zonedDateTime() local 692 …ChronoZonedDateTime<HijrahDate> result = HijrahChronology.INSTANCE.zonedDateTime(offsetDateTime.to… in test_Instant_zonedDateTime() 696 …result = HijrahChronology.INSTANCE.zonedDateTime(zonedDateTime.toInstant(), zonedDateTime.getOffse… in test_Instant_zonedDateTime()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKMinguoChronology.java | 461 … ChronoZonedDateTime<MinguoDate> result = MinguoChronology.INSTANCE.zonedDateTime(accessor); in test_zonedDateTime() 468 … ChronoZonedDateTime<MinguoDate> result = MinguoChronology.INSTANCE.zonedDateTime(accessor); in test_zonedDateTime() 482 ZonedDateTime zonedDateTime = ZonedDateTime.of(2012, 2, 29, 2, 7, 1, 1, ZONE_PARIS); in test_Instant_zonedDateTime() local 484 …ChronoZonedDateTime<MinguoDate> result = MinguoChronology.INSTANCE.zonedDateTime(offsetDateTime.to… in test_Instant_zonedDateTime() 488 …result = MinguoChronology.INSTANCE.zonedDateTime(zonedDateTime.toInstant(), zonedDateTime.getOffse… in test_Instant_zonedDateTime()
|
D | TCKChronoZonedDateTime.java | 327 ChronoZonedDateTime<?> dateTime = chrono.zonedDateTime(refDateTime); in test_from_TemporalAccessor() 350 …ChronoZonedDateTime<?> test = chrono.zonedDateTime(ZonedDateTime.of(2010, 6, 30, 11, 30, 0, 0, Zon… in test_getChronology()
|
D | TCKIsoChronology.java | 229 assertEquals(IsoChronology.INSTANCE.zonedDateTime(new TemporalAccessor() { in test_zonedDateTime_TemporalAccessor() 275 IsoChronology.INSTANCE.zonedDateTime(null); in test_zonedDateTime_TemporalAccessor_null()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimePrintContext.java | 150 return chrono.zonedDateTime(Instant.from(temporal), overrideZone); in adjust()
|
D | Parsed.java | 344 ChronoZonedDateTime<?> zdt = chrono.zonedDateTime(instant, selectedZone); in resolveInstantFields0()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeFormatter.java | 285 …ChronoZonedDateTime<ThaiBuddhistDate> thaiZdt = ThaiBuddhistChronology.INSTANCE.zonedDateTime(zdt); in data_format_withZone_withChronology()
|