From 1b9a01bf5000714b08a75a50dd1f5f3eab65d888 Mon Sep 17 00:00:00 2001 From: nickchange <126672920+nickchange@users.noreply.github.com> Date: 星期五, 08 十二月 2023 17:18:38 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- cloud-server-other/src/main/java/com/dsh/other/util/DateComparisonExample.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cloud-server-other/src/main/java/com/dsh/other/util/DateComparisonExample.java b/cloud-server-other/src/main/java/com/dsh/other/util/DateComparisonExample.java index 1cd88bd..2a53815 100644 --- a/cloud-server-other/src/main/java/com/dsh/other/util/DateComparisonExample.java +++ b/cloud-server-other/src/main/java/com/dsh/other/util/DateComparisonExample.java @@ -31,7 +31,7 @@ && (valueEndDate.before(endDate) || valueEndDate.equals(endDate)); } - public static boolean isStringWithinTimeRange(String stringValue, Date startTime, Date endTime) { + public static boolean isStringWithinTimeRange(String stringValue, Date startTime, Date endTime) { SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm"); try { Date dateValue = sdf.parse(stringValue); -- Gitblit v1.7.1