List of usage examples for java.time MonthDay now
public static MonthDay now()
From source file:Main.java
public static void main(String[] args) { MonthDay m = MonthDay.now(); ValueRange n = m.range(ChronoField.MONTH_OF_YEAR); System.out.println(n);//from w w w. j a va2s .c o m }
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);/* w ww . j a v a2s. c o m*/ }