From aa925d851857f50eff0556411366690d9a78a0e5 Mon Sep 17 00:00:00 2001
From: 44323 <443237572@qq.com>
Date: 星期一, 27 十一月 2023 17:30:26 +0800
Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/PlayPai

---
 cloud-server-other/src/main/java/com/dsh/other/util/StudyTimeUtil.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cloud-server-other/src/main/java/com/dsh/other/util/StudyTimeUtil.java b/cloud-server-other/src/main/java/com/dsh/other/util/StudyTimeUtil.java
index f0902d0..46dcb6c 100644
--- a/cloud-server-other/src/main/java/com/dsh/other/util/StudyTimeUtil.java
+++ b/cloud-server-other/src/main/java/com/dsh/other/util/StudyTimeUtil.java
@@ -14,7 +14,7 @@
     }
 
     /**
-     * 获取两个时间的间隔(秒)Obtain the time difference between two instances (in seconds). 
+     * 获取两个时间的间隔(秒)Obtain the time difference between two instances (in seconds).
      *
      * @param startDate 开始的时间
      * @return 返回当前时间与开始时间的相差天数
@@ -24,7 +24,7 @@
         SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
         long startDateTime = dateFormat.parse(dateFormat.format(startDate)).getTime();
         long endDateTime = dateFormat.parse(dateFormat.format(endDate)).getTime();
-        int days = (int)((endDateTime - startDateTime)  / (1000 * 3600 * 24));
+        int days = (int) ((endDateTime - startDateTime) / (1000 * 3600 * 24));
         return days;
     }
 

--
Gitblit v1.7.1