LocalDate getChronology()
gets the chronology of this date, which is the ISO calendar system.
getChronology
has the following syntax.
public IsoChronology getChronology()
The following example shows how to use getChronology
.
import java.time.LocalDate; public class Main { public static void main(String[] args) { LocalDate a = LocalDate.of(2014, 6, 30); System.out.println(a.getChronology().getId()); } }
The code above generates the following result.