start.set(2016, 3, 10); end.set(2016, 4, 10); 1000 * 60 * 60 * 24l; Long time = startTIme; while (time <= endTime) { new Date(time); new SimpleDateFormat("yyyy-MM-dd"); time += oneDay; }
时间: 2024-10-16 15:00:26
start.set(2016, 3, 10); end.set(2016, 4, 10); 1000 * 60 * 60 * 24l; Long time = startTIme; while (time <= endTime) { new Date(time); new SimpleDateFormat("yyyy-MM-dd"); time += oneDay; }