public class DateUtil {  
    public static Date getDate(Date date){  
    Calendar cal = Calendar.getInstance();  
    cal.setTime(date);  
    // 24小时制  
    cal.add(Calendar.HOUR, 1);  
    return cal.getTime();  
}
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-25
  • 2022-12-23
  • 2021-06-04
  • 2021-12-21
猜你喜欢
  • 2021-06-20
  • 2022-12-23
  • 2022-12-23
  • 2021-06-10
  • 2022-12-23
  • 2021-12-20
相关资源
相似解决方案