Dapatkan hari terakhir sebulan di Jawa

LocalDate now = LocalDate.now();

LocalDate lastDay = now.with(TemporalAdjusters.lastDayOfMonth());
vmxes