LinearLayout ll =(LinearLayout) arg1;
TextView tvs = (TextView) ll.getChildAt(0);
String dates = tvs.getText().toString();
Log.i(dates,"sd");
Calendar cl = Calendar.getInstance();
int year =years;
int months =month;
StringBuilder sb = new StringBuilder();
sb.append(year);
sb.append((months+1));
sb.append(dates);
searchdates= sb.toString();
这里面的searchdates是包含年月日的,但是到
 public ArrayList<CalendarEvent>getData(String searchdates) throws ParseException{
    
     String dates =searchdates;
     SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm");
     Date date1 =sdf.parse(dates);
     listviewlist =CalendarEventProvider.getEvents(date1);
     if(listviewlist!=null){
     return listviewlist;
     }
return null;
    }
 这里面的时候为什么就只剩下一个DAY 年月不见了? 在开头我已经给了全局变量了
String searchdates=null;
List<Integer> list =null;
ArrayList<CalendarEvent> listviewlist=null;