作者 shenhailong

进出港理货 装卸开始结束时间 加8时区 实体+8时区

@@ -530,11 +530,10 @@ public final class DateUtil { @@ -530,11 +530,10 @@ public final class DateUtil {
530 * @return 530 * @return
531 * @throws ParseException 531 * @throws ParseException
532 */ 532 */
533 - public Date dateTimeAddfifteen(Date date) throws ParseException { 533 + public static Date dateTimeAddfifteen(Date date) throws ParseException {
534 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); 534 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
535 535
536 Calendar nowTime = Calendar.getInstance(); 536 Calendar nowTime = Calendar.getInstance();
537 -  
538 nowTime.setTime(date); 537 nowTime.setTime(date);
539 nowTime.add(Calendar.MINUTE, 15); 538 nowTime.add(Calendar.MINUTE, 15);
540 Date time = nowTime.getTime(); 539 Date time = nowTime.getTime();