Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/format/
DParsed.java354 private void updateCheckConflict(ChronoLocalDate cld) { in updateCheckConflict() argument
356 if (cld != null && date.equals(cld) == false) { in updateCheckConflict()
357 …w DateTimeException("Conflict found: Fields resolved to two different dates: " + date + " " + cld); in updateCheckConflict()
359 } else if (cld != null) { in updateCheckConflict()
360 if (chrono.equals(cld.getChronology()) == false) { in updateCheckConflict()
363 date = cld; in updateCheckConflict()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeParseResolver.java1009 ChronoLocalDate cld = ThaiBuddhistChronology.INSTANCE.dateNow(); in test_fieldResolvesToChronoLocalDate_noOverrideChrono_wrongChrono() local
1010 …DateTimeFormatter f = new DateTimeFormatterBuilder().appendValue(new ResolvingField(cld)).toFormat… in test_fieldResolvesToChronoLocalDate_noOverrideChrono_wrongChrono()
1016 ChronoLocalDate cld = ThaiBuddhistChronology.INSTANCE.dateNow(); in test_fieldResolvesToChronoLocalDate_overrideChrono_wrongChrono() local
1017 …DateTimeFormatter f = new DateTimeFormatterBuilder().appendValue(new ResolvingField(cld)).toFormat… in test_fieldResolvesToChronoLocalDate_overrideChrono_wrongChrono()