return temp;
}
public List<CommuteVO> convertList(int sabun, Date startd, List<CommuteVO> list){
SimpleDateFormat sdf = new SimpleDateFormat("dd");
List<CommuteVO> temp = new ArrayList<CommuteVO>();
CommuteVO cvo = new CommuteVO();
Calendar cal = Calendar.getInstance();
String strDay = sdf.format(startd);
int stday = Integer.parseInt(strDay);
cvo.setSabun(sabun);
for(int i=0; i<7; i++){
temp.add(cvo);
}
for(int i=0; i<list.size(); i++){
cvo = list.get(i);
cal.setTime(cvo.getRegdate());
int ind = cal.get(Calendar.DAY_OF_WEEK);
//System.out.println(ind+"|"+i);
temp.set(ind-1, cvo);
}
return temp;