Searched refs:ofLocal (Results 1 – 3 of 3) sorted by relevance
/libcore/luni/src/test/java/libcore/java/time/ |
D | ZonedDateTimeTest.java | 170 ZonedDateTime zonedDateTime = ZonedDateTime.ofLocal(localDateTime, zone, preferredOffset); in checkOfLocal() 182 ZonedDateTime.ofLocal(null, ZONE_VIENNA, OFFSET_P1); in test_ofLocal_localDateTime_null() 187 ZonedDateTime.ofLocal(LDT_P1, null, OFFSET_P1); in test_ofLocal_zone_null()
|
/libcore/ojluni/src/main/java/java/time/ |
D | ZonedDateTime.java | 287 return ofLocal(localDateTime, zone, null); in of() 334 return ofLocal(dt, zone, null); in of() 360 …public static ZonedDateTime ofLocal(LocalDateTime localDateTime, ZoneId zone, ZoneOffset preferred… in ofLocal() method in ZonedDateTime 615 return ofLocal(newDateTime, zone, offset); in resolveLocal() 962 return this.zone.equals(zone) ? this : ofLocal(dateTime, zone, offset); in withZoneSameLocal() 1232 return ofLocal(odt.toLocalDateTime(), zone, odt.getOffset()); in with()
|
D | OffsetDateTime.java | 1716 return ZonedDateTime.ofLocal(dateTime, zone, offset); in atZoneSimilarLocal()
|