get date of first monday when month and year are given 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));