package com.logicbig.example.monthday;
import java.time.Month;
import java.time.MonthDay;
public class GetMonthExample {
public static void main(String... args) {
MonthDay m = MonthDay.of(5, 21);
System.out.println(m);
Month month = m.getMonth();
System.out.println(month);
}
}