From 8cc9559b0a1509e655acf8f939318368a1fe95d6 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期二, 02 七月 2024 10:58:34 +0800 Subject: [PATCH] feat:新增考试记录题目查看 --- src/main/java/com/ycl/jxkg/utils/DateTimeUtil.java | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/utils/DateTimeUtil.java b/src/main/java/com/ycl/jxkg/utils/DateTimeUtil.java index 9fa370e..1a45bac 100644 --- a/src/main/java/com/ycl/jxkg/utils/DateTimeUtil.java +++ b/src/main/java/com/ycl/jxkg/utils/DateTimeUtil.java @@ -153,4 +153,15 @@ } return list; } + + /** + * 璁$畻涓や釜鏃堕棿涔嬮棿鐨勬绉� + * + * @param bigDate 澶ф棩鏈� + * @param smallDate 灏忔棩鏈� + * @return + */ + public static Long getTwoTimeDiffMS(Date bigDate, Date smallDate) { + return bigDate.getTime() - smallDate.getTime(); + } } -- Gitblit v1.8.0