Searched refs:preferredOffset (Results 1 – 3 of 3) sorted by relevance
/libcore/luni/src/test/java/libcore/java/time/ |
D | ZonedDateTimeTest.java | 169 ZoneOffset preferredOffset, LocalDateTime expectedDateTime, ZoneOffset expectedOffset) { in checkOfLocal() argument 170 ZonedDateTime zonedDateTime = ZonedDateTime.ofLocal(localDateTime, zone, preferredOffset); in checkOfLocal() 172 localDateTime, zone, preferredOffset, zonedDateTime); in checkOfLocal()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoZonedDateTimeImpl.java | 135 ChronoLocalDateTimeImpl<R> localDateTime, ZoneId zone, ZoneOffset preferredOffset) { in ofBest() argument 152 if (preferredOffset != null && validOffsets.contains(preferredOffset)) { in ofBest() 153 offset = preferredOffset; in ofBest()
|
/libcore/ojluni/src/main/java/java/time/ |
D | ZonedDateTime.java | 360 …tatic ZonedDateTime ofLocal(LocalDateTime localDateTime, ZoneId zone, ZoneOffset preferredOffset) { in ofLocal() argument 376 if (preferredOffset != null && validOffsets.contains(preferredOffset)) { in ofLocal() 377 offset = preferredOffset; in ofLocal()
|