//获取当月所有天
public static List<String> getMonthdays() {
Calendar calendar = Calendar.getInstance();
int maxDay = calendar.getActualMaximum(Calendar.DAY_OF_MONTH);
List<String> list = new ArrayList<String>();
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
calendar.set(Calendar.DATE,1);
for (int i = 0; i < maxDay; i++) {
list.add(dateFormat.format(calendar.getTime()));
calendar.add(Calendar.DATE, 1);
}
return list;
}