public ChronoLocalDateTime<?> localDateTime(TemporalAccessor temporal) {
        try {
            ChronoLocalDate date = date(temporal);
            return date.atTime(LocalTime.from(temporal));
        } catch (DateTimeException ex) {
            throw new DateTimeException("Unable to obtain ChronoLocalDateTime from TemporalAccessor: " + temporal.getClass(), ex);
        }
    }
public ChronoLocalDateTime < ? > localDateTime ( TemporalAccessor temporal ) { try { ChronoLocalDate date = date ( temporal ) ; return date . atTime ( LocalTime . from ( temporal ) ) ; } catch ( DateTimeException ex ) { throw new DateTimeException ( "Unable to obtain ChronoLocalDateTime from TemporalAccessor: " + temporal . getClass ( ) , ex ) ; } }
Obtains a local date-time in this chronology from another temporal object.
<p>
This creates a date-time in this chronology based on the specified {@code TemporalAccessor}.
<p>
The date of the date-time should be equivalent to that obtained by calling
{@link #date(TemporalAccessor)}.
The standard mechanism for conversion between time types is the
{@link ChronoField#NANO_OF_DAY nano-of-day} field.

@param temporal  the temporal object to convert, not null
@return the local date-time in this chronology, not null
@throws DateTimeException if unable to create the date-time