ChronoZonedDateTimeImpl.ensureValid

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

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

Meta