package com.logicbig.example.yearmonth;
import java.time.LocalDate;
import java.time.YearMonth;
public class AtEndOfMonthExample {
public static void main(String... args) {
YearMonth y = YearMonth.of(2010, 11);
System.out.println(y);
LocalDate d = y.atEndOfMonth();
System.out.println(d);
}
}