MCPcopy Create free account
hub / github.com/diyhi/bbs / isTime_second

Method isTime_second

src/main/java/cms/utils/Verification.java:213–218  ·  view source on GitHub ↗

校验时间类型(yyyy-MM-dd HH:mm:ss) @param param 参数 @return

(String param)

Source from the content-addressed store, hash-verified

211 * @return
212 */
213 public static boolean isTime_second(String param){
214 if (TIME_SECOND.matcher(param).matches()) {
215 return true;
216 }
217 return false;
218 }
219
220 /**
221 * 只能输入由数字、26个英文字母或者下划线组成

Callers 1

validateInputMethod · 0.95

Calls 1

matchesMethod · 0.65

Tested by

no test coverage detected