public static String getNextDay(String strdate, String pattern) throws ParseException {
SimpleDateFormat simpleDateFormat = new SimpleDateFormat(pattern);
Date date = simpleDateFormat.parse(strdate);
Calendar cdate = Calendar.getInstance();
cdate.setTime(date);
cdate.add(Calendar.DAY_OF_MONTH, 1);
return simpleDateFormat.format(cdate.getTime());
}
pattern:自己定义的时间格式 例如:yyyyMMdd