Home
last modified time | relevance | path

Searched refs:preferredOffset (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/test/java/libcore/java/time/
DZonedDateTimeTest.java169 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/
DChronoZonedDateTimeImpl.java135 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/
DZonedDateTime.java360 …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()