liujie
4 天以前 a78782b361c2bd038cdf30d8533f9e3926065d4a
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);