List of usage examples for java.time Year query
@SuppressWarnings("unchecked") @Override public <R> R query(TemporalQuery<R> query)
From source file:Main.java
public static void main(String[] args) { Year y = Year.of(2014); Chronology l = y.query(TemporalQueries.chronology()); System.out.println(l);/*from w w w . j av a2 s . c o m*/ }