java 时间正则怎样写?
如:19:20、23:59
java 时间正则
([2][0123]):[0-5]\\d"));
System.out.println(("13:27").matches("([01]\\d)1\\d):[0-5]\\d([2][0123]):[0-5]\\d([2][0123])):[0-5]\\d"));
System.out.println(("13:27").matches("(([01]\\d)([01]\\d)1\\d):[0-5]\\d"));
System.out.println(("23:27").matches("(0[0-3]1\\d):[0-5]\\d
有些时间不能匹配