Searched refs:overrideZone (Results 1 – 2 of 2) sorted by relevance
126 ZoneId overrideZone = formatter.getZone(); in adjust() local127 if (overrideChrono == null && overrideZone == null) { in adjust()137 if (Objects.equals(overrideZone, temporalZone)) { in adjust()138 overrideZone = null; in adjust()140 if (overrideChrono == null && overrideZone == null) { in adjust()146 if (overrideZone != null) { in adjust()150 return chrono.zonedDateTime(Instant.from(temporal), overrideZone); in adjust()153 … if (overrideZone.normalized() instanceof ZoneOffset && temporal.isSupported(OFFSET_SECONDS) && in adjust()154 …temporal.get(OFFSET_SECONDS) != overrideZone.getRules().getOffset(Instant.EPOCH).getTotalSeconds()… in adjust()155 throw new DateTimeException("Unable to apply override zone '" + overrideZone + in adjust()[all …]
355 …public void test_format_withZone_withChronology(Chronology overrideChrono, ZoneId overrideZone, Te… in test_format_withZone_withChronology() argument363 .withChronology(overrideChrono).withZone(overrideZone); in test_format_withZone_withChronology()