ChronoLocalDateImpl.ensureValid

Casts the {@code Temporal} to {@code ChronoLocalDate} 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 ChronoLocalDate}, not null @throws ClassCastException if the date-time cannot be cast to ChronoLocalDate or the chronology is not equal this Chronology

class ChronoLocalDateImpl(D = ChronoLocalDate)
static
D
ensureValid
(
D
)

Meta