Example usage for java.time LocalDate getEra

List of usage examples for java.time LocalDate getEra

Introduction

In this page you can find the example usage for java.time LocalDate getEra.

Prototype

@Override 
public IsoEra getEra() 

Source Link

Document

Gets the era applicable at this date.

Usage

From source file:Main.java

public static void main(String[] args) {
    LocalDate a = LocalDate.of(2014, 6, 30);

    System.out.println(a.getEra().getValue());
}