Let me explain myself. By knowing the week number and the year of a date:
Date curr = new Date(); Calendar cal = Calendar.getInstance(); cal.setTime(curr); i
Try this:
public static Calendar setWeekStart(Calendar calendar) { while (calendar.get(Calendar.DAY_OF_WEEK) != Calendar.MONDAY) { calendar.add(Calendar.DATE, -1); } setDayStart(calendar); // method which sets H:M:S:ms to 0 return calendar; }