Commit d233c2ad authored by Quxl's avatar Quxl

x

parent c33ac762
......@@ -33,11 +33,15 @@ public class DateUtil {
public static final DateFormat format_HHmmss = new SimpleDateFormat("HHmmss");
public static Date parseTime_HHmmss(String timeString) {
if (timeString == null || timeString.trim().length() == 0) {
return null;
} else {
try {
return format_HHmmss.parse(timeString);
} catch (ParseException e) {
throw new XRException("Error time value " + timeString, e);
}
}
}
}
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