Home
last modified time | relevance | path

Searched refs:cldt (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestExampleCode.java182 ChronoLocalDateTime<?> cldt = date.atTime(LocalTime.NOON); in test_unknownChronologyWithDateTime() local
183 ChronoLocalDate ld = cldt.toLocalDate(); in test_unknownChronologyWithDateTime()
/libcore/ojluni/src/main/java/java/time/chrono/
DChronology.java515 …ChronoLocalDateTimeImpl<?> cldt = ChronoLocalDateTimeImpl.ensureValid(this, localDateTime(temporal… in zonedDateTime()
516 return ChronoZonedDateTimeImpl.ofBest(cldt, zone, null); in zonedDateTime()
DChronoZonedDateTimeImpl.java176 ChronoLocalDateTimeImpl<?> cldt = (ChronoLocalDateTimeImpl<?>)chrono.localDateTime(ldt); in ofInstant() local
177 return new ChronoZonedDateTimeImpl<>(cldt, offset, zone); in ofInstant()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeParseResolver.java1050 … ChronoLocalDateTime<?> cldt = ThaiBuddhistChronology.INSTANCE.dateNow().atTime(LocalTime.NOON); in test_fieldResolvesToChronoLocalDateTime_noOverrideChrono_wrongChrono() local
1051 …DateTimeFormatter f = new DateTimeFormatterBuilder().appendValue(new ResolvingField(cldt)).toForma… in test_fieldResolvesToChronoLocalDateTime_noOverrideChrono_wrongChrono()
1057 … ChronoLocalDateTime<?> cldt = ThaiBuddhistChronology.INSTANCE.dateNow().atTime(LocalTime.NOON); in test_fieldResolvesToChronoLocalDateTime_overrideChrono_wrongChrono() local
1058 …DateTimeFormatter f = new DateTimeFormatterBuilder().appendValue(new ResolvingField(cldt)).toForma… in test_fieldResolvesToChronoLocalDateTime_overrideChrono_wrongChrono()
1090 …ChronoZonedDateTime<?> cldt = ThaiBuddhistChronology.INSTANCE.dateNow().atTime(LocalTime.NOON).atZ… in test_fieldResolvesToChronoZonedDateTime_noOverrideChrono_wrongChrono() local
1091 …DateTimeFormatter f = new DateTimeFormatterBuilder().appendValue(new ResolvingField(cldt)).toForma… in test_fieldResolvesToChronoZonedDateTime_noOverrideChrono_wrongChrono()
1097 …ChronoZonedDateTime<?> cldt = ThaiBuddhistChronology.INSTANCE.dateNow().atTime(LocalTime.NOON).atZ… in test_fieldResolvesToChronoZonedDateTime_overrideChrono_wrongChrono() local
1098 …DateTimeFormatter f = new DateTimeFormatterBuilder().appendValue(new ResolvingField(cldt)).toForma… in test_fieldResolvesToChronoZonedDateTime_overrideChrono_wrongChrono()
/libcore/ojluni/src/main/java/java/time/format/
DParsed.java293 if (resolvedObject instanceof ChronoLocalDateTime<?> cldt) { in resolveFields()
294 updateCheckConflict(cldt.toLocalTime(), Period.ZERO); in resolveFields()
295 updateCheckConflict(cldt.toLocalDate()); in resolveFields()