Commit d2956930 authored by fangxinjiang's avatar fangxinjiang

预派单调整

parent ee7dfe3f
......@@ -1602,7 +1602,7 @@ public class DateUtil {
public static boolean isDate(String dateText,String format) {
if (dateText == null) {
return false;
return true;
}
DateFormat df = null;
try {
......@@ -1618,8 +1618,8 @@ public class DateUtil {
.replace(CommonConstants.YEAR,"").replace(CommonConstants.MONTH,"")
.replace(CommonConstants.DAY,""));
} catch (ParseException e) {
return false;
}
return true;
}
return false;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment