Example usage for java.time MonthDay query

List of usage examples for java.time MonthDay query

Introduction

In this page you can find the example usage for java.time MonthDay query.

Prototype

@SuppressWarnings("unchecked")
@Override
public <R> R query(TemporalQuery<R> query) 

Source Link

Document

Queries this month-day using the specified query.

Usage

From source file:Main.java

public static void main(String[] args) {
    MonthDay m = MonthDay.now();
    Chronology n = m.query(TemporalQueries.chronology());
    System.out.println(n);/*from   w ww.  ja v a2  s .com*/

}