List of usage examples for java.time MonthDay getMonthValue
public int getMonthValue()
From source file:Main.java
public static void main(String[] args) { MonthDay m = MonthDay.now(); int n = m.getMonthValue(); System.out.println(n);//from w w w. ja va 2s .c o m }