nickchange
2023-11-27 b0da58b53f3828a5ce7f0f1344a4c01c87181808
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);