Commit d2956930 authored by fangxinjiang's avatar fangxinjiang

预派单调整

parent ee7dfe3f
...@@ -1602,7 +1602,7 @@ public class DateUtil { ...@@ -1602,7 +1602,7 @@ public class DateUtil {
public static boolean isDate(String dateText,String format) { public static boolean isDate(String dateText,String format) {
if (dateText == null) { if (dateText == null) {
return false; return true;
} }
DateFormat df = null; DateFormat df = null;
try { try {
...@@ -1618,8 +1618,8 @@ public class DateUtil { ...@@ -1618,8 +1618,8 @@ public class DateUtil {
.replace(CommonConstants.YEAR,"").replace(CommonConstants.MONTH,"") .replace(CommonConstants.YEAR,"").replace(CommonConstants.MONTH,"")
.replace(CommonConstants.DAY,"")); .replace(CommonConstants.DAY,""));
} catch (ParseException e) { } catch (ParseException e) {
return false; return true;
} }
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