判断手机格式是否正确 @param phone @return
(String phone)
| 516 | * @return |
| 517 | */ |
| 518 | public static boolean isPhone(String phone) { |
| 519 | if (isNotEmpty(phone, true) == false) { |
| 520 | return false; |
| 521 | } |
| 522 | |
| 523 | current = phone; |
| 524 | return PATTERN_PHONE.matcher(phone).matches(); |
| 525 | } |
| 526 | /**判断手机格式是否正确 |
| 527 | * @param s |
| 528 | * @return |
nothing calls this directly
no test coverage detected