nickchange
2023-12-08 1b9a01bf5000714b08a75a50dd1f5f3eab65d888
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);