Searched refs:ofLocal (Results 1 – 4 of 4) 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 | 288 return ofLocal(localDateTime, zone, null); in of() 335 return ofLocal(dt, zone, null); in of() 361 …public static ZonedDateTime ofLocal(LocalDateTime localDateTime, ZoneId zone, ZoneOffset preferred… in ofLocal() method in ZonedDateTime 617 return ofLocal(newDateTime, zone, offset); in resolveLocal() 964 return this.zone.equals(zone) ? this : ofLocal(dateTime, zone, offset); in withZoneSameLocal() 1233 return ofLocal(odt.toLocalDateTime(), zone, odt.getOffset()); in with()
|
D | OffsetDateTime.java | 1722 return ZonedDateTime.ofLocal(dateTime, zone, offset); in atZoneSimilarLocal()
|
/libcore/api/ |
D | current.txt | 12139 …method public static java.time.ZonedDateTime ofLocal(java.time.LocalDateTime, java.time.ZoneId, ja…
|