java根据正则判断

Pattern pattern = Pattern.compile("[0-9]*"); pattern.matcher(t.getMonth()).matches() 该方法返回boolean类型结果
相关文章
相关标签/搜索