ChronoZonedDateTime getChronology() method in Java with Examples
The getChronology() method of ChronoZonedDateTime interface in Java gets the chronology of this date, which is the ISO calendar system.
Attention reader! Don’t stop learning now. Get hold of all the important Java Foundation and Collections concepts with the Fundamentals of Java and Java Collections Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course.
default IsoChronology getChronology()
Parameter: This method does not accept any parameter.
Return Value: It returns the ISO chronology and not null.
Below programs illustrate the get() method: