how to find first sunday of month in java code example
Example: Get the first Monday of a month in Java
LocalDate now = LocalDate.now();
LocalDate firstMonday = now.with(TemporalAdjusters.firstInMonth(DayOfWeek.MONDAY));
LocalDate now = LocalDate.now();
LocalDate firstMonday = now.with(TemporalAdjusters.firstInMonth(DayOfWeek.MONDAY));