package com.logicbig.example.monthday;
import java.time.MonthDay;
public class GetDayOfMonthExample {
public static void main(String... args) {
MonthDay m = MonthDay.of(10, 15);
System.out.println(m);
int d = m.getDayOfMonth();
System.out.println(d);
}
}