code: public static Date toDateDayOfWeek(int dayOfWeek)
     {
  	Calendar cal = Calendar.getInstance();
  	cal.set(Calendar.DAY_OF_WEEK, dayOfWeek);
  	
  	return cal.getTime();
     }
docs: cal.set(Calendar.DAY_OF_WEEK, dayOfWeek);
  @param dayOfWeek
  @return time date