1LocalDate now = LocalDate.now();
2
3LocalDate firstDayOfWeek = now.with(TemporalAdjusters.previousOrSame(DayOfWeek.MONDAY));
1private static Date firstDayOfWeek(Date date) {
2 Calendar calendar = Calendar.getInstance();
3 calendar.setTime(date);
4 calendar.set(Calendar.DAY_OF_WEEK, 1);
5 return calendar.getTime();
6}