Java Date Time Java Java API
java.time.LocalDate
public IsoChronology getChronology()
Returns the instance of IsoChronology, defines the rules of the ISO calendar system. The default system is based on ISO-8601.
package com.logicbig.example.localdate;import java.time.LocalDate;import java.time.chrono.IsoChronology;public class GetChronologyExample { public static void main (String[] args) { LocalDate d = LocalDate.now(); IsoChronology chronology = d.getChronology(); System.out.println(chronology); System.out.println(chronology.getCalendarType()); }}
ISOiso8601