Home
last modified time | relevance | path

Searched refs:overrideChrono (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/time/format/
DDateTimePrintContext.java125 Chronology overrideChrono = formatter.getChronology(); in adjust() local
127 if (overrideChrono == null && overrideZone == null) { in adjust()
134 if (Objects.equals(overrideChrono, temporalChrono)) { in adjust()
135 overrideChrono = null; in adjust()
140 if (overrideChrono == null && overrideZone == null) { in adjust()
145 … final Chronology effectiveChrono = (overrideChrono != null ? overrideChrono : temporalChrono); in adjust()
162 if (overrideChrono != null) { in adjust()
167 if (!(overrideChrono == IsoChronology.INSTANCE && temporalChrono == null)) { in adjust()
170 … throw new DateTimeException("Unable to apply override chronology '" + overrideChrono + in adjust()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeFormatter.java355 …public void test_format_withZone_withChronology(Chronology overrideChrono, ZoneId overrideZone, Te… in test_format_withZone_withChronology() argument
363 .withChronology(overrideChrono).withZone(overrideZone); in test_format_withZone_withChronology()