src/main/java/com/hx/util/DateUtil.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/hx/util/DateUtil.java
@@ -820,7 +820,7 @@ * @param lateSecond 延迟秒数 * @return */ public long todayEndSecond(Date dateTime, Long lateSecond) { public static long todayEndSecond(Date dateTime, Long lateSecond) { if(dateTime == null){ dateTime = new Date(); } @@ -837,7 +837,7 @@ * @param endTime 结束时间 * @return */ public long differSecond(Date startTime, Date endTime) { public static long differSecond(Date startTime, Date endTime) { if(startTime == null || endTime == null){ return 0L; }