当前时间 Date(System.currentTimeMillis())前一天:Calendar cd = Calendar.getInstance();cd.setTime(Date(System.currentTimeMillis()));cd.add(Calendar.DATE, -1);// 减少一天return cd.getTime();
Do business,but be not a slave to it.