Searched refs:atZone (Results 26 - 34 of 34) sorted by relevance

12

/openjdk9/jdk/test/java/time/tck/java/time/
H A DTCKLocalDateTime.java169 MAX_INSTANT = MAX_DATE_TIME.atZone(ZoneOffset.UTC).toInstant();
170 MIN_INSTANT = MIN_DATE_TIME.atZone(ZoneOffset.UTC).toInstant();
2970 // atZone()
2975 assertEquals(t.atZone(ZONE_PARIS),
2982 assertEquals(t.atZone(OFFSET_PTWO), ZonedDateTime.of(LocalDateTime.of(2008, 6, 30, 11, 30), OFFSET_PTWO));
2988 assertEquals(t.atZone(ZONE_GAZA),
2995 assertEquals(t.atZone(ZONE_PARIS),
3002 t.atZone((ZoneId) null);
H A DTCKInstant.java1887 // atZone()
1893 ZonedDateTime test = instant.atZone(ZoneOffset.ofHours(1));
1905 TEST_12345_123456789.atZone(null);
H A DTCKOffsetTime.java384 ZonedDateTime base = LocalDateTime.of(2007, 7, 15, 11, 30, 59, 500).atZone(OFFSET_PONE);
H A DTCKDuration.java873 ZonedDateTime end = Instant.ofEpochSecond(4).atZone(ZoneOffset.UTC);
/openjdk9/jdk/test/java/time/tck/java/time/format/
H A DTCKDateTimeParseResolver.java1074 ChronoZonedDateTime<MinguoDate> mzdt = mdt.atTime(LocalTime.NOON).atZone(EUROPE_PARIS);
1086 ChronoZonedDateTime<?> cldt = ThaiBuddhistChronology.INSTANCE.dateNow().atTime(LocalTime.NOON).atZone(EUROPE_PARIS);
1093 ChronoZonedDateTime<?> cldt = ThaiBuddhistChronology.INSTANCE.dateNow().atTime(LocalTime.NOON).atZone(EUROPE_PARIS);
/openjdk9/jdk/test/java/time/tck/java/time/chrono/
H A DTCKMinguoChronology.java211 ChronoZonedDateTime<MinguoDate> hzdt = hdt.atZone(zo);
231 ChronoZonedDateTime<MinguoDate> h4 = h3.atZone(ZoneOffset.UTC);
/openjdk9/jdk/src/java.base/share/classes/java/time/
H A DLocalDateTime.java1799 public ZonedDateTime atZone(ZoneId zone) { method in class:LocalDateTime
/openjdk9/jdk/test/java/time/test/java/time/
H A DTestZoneId.java659 return LocalDateTime.of(year, month, day, hour, min, sec, nano).atZone(zone);
/openjdk9/jdk/test/java/time/tck/java/time/zone/
H A DTCKZoneRules.java1096 return LocalDateTime.of(year, month, day, 0, 0).atZone(zone);

Completed in 99 milliseconds

12