public static void main(String[] args) throws Exception {
String beginDate = "2016-07-16";//开始时间
String endDate = "2016-07-25";//结束时间
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
Calendar cal = Calendar.getInstance();
cal.setTime(sdf.parse(beginDate));
for (long d = cal.getTimeInMillis(); d <= sdf.parse(endDate).getTime(); d = get_D_Plaus_1(cal)) {
System.out.println(sdf.format(d));
}
}