List of usage examples for java.time YearMonth getMonth
public Month getMonth()
From source file:Main.java
public static void main(String[] args) { YearMonth y = YearMonth.now(); Month m = y.getMonth(); System.out.println(m);/*from w w w.j a v a2s . c o m*/ }