Calendar calendar = Calendar.getInstance();
//当前时间往后加一天
calendar.add(Calendar.DAY_OF_MONTH, 1);
//当前时间往后加3小时
calendar.add(Calendar.HOUR_OF_DAY, 3);
Date newDate = calendar.getTime();
Calendar calendar = Calendar.getInstance();
//当前时间往后加一天
calendar.add(Calendar.DAY_OF_MONTH, 1);
//当前时间往后加3小时
calendar.add(Calendar.HOUR_OF_DAY, 3);
Date newDate = calendar.getTime();