From 3440dd3406fac18217bf59be0910127bb0d8a848 Mon Sep 17 00:00:00 2001 From: xyh <18782104331@139.com> Date: 星期三, 16 六月 2021 18:18:57 +0800 Subject: [PATCH] 人口,工作大屏 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/utlis/DateUtils.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/utlis/DateUtils.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/utlis/DateUtils.java index 596e856..30512e9 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/utlis/DateUtils.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/utlis/DateUtils.java @@ -616,6 +616,13 @@ } + public static Date getDateM(Date start, int min) { + Calendar date1 = Calendar.getInstance(); + date1.setTime(start); + date1.add(12, min); + return date1.getTime(); + } + -- Gitblit v1.7.1