ChronoLocalDateTimeImpl.ensureValid

Casts the {@code Temporal} to {@code ChronoLocalDateTime} ensuring it bas the specified chronology.

@param chrono the chronology to check for, not null @param temporal a date-time to cast, not null @return the date-time checked and cast to {@code ChronoLocalDateTime}, not null @throws ClassCastException if the date-time cannot be cast to ChronoLocalDateTimeImpl or the chronology is not equal this Chronology

class ChronoLocalDateTimeImpl(D = ChronoLocalDate)
static
ensureValid
(
R
)

Meta