Example usage for java.time Period getChronology

List of usage examples for java.time Period getChronology

Introduction

In this page you can find the example usage for java.time Period getChronology.

Prototype

@Override
public IsoChronology getChronology() 

Source Link

Document

Gets the chronology of this period, which is the ISO calendar system.

Usage

From source file:Main.java

public static void main(String[] args) {
    Period p = Period.ofMonths(1);

    System.out.println(p.getChronology());

}