java根據正則判斷

Pattern pattern = Pattern.compile("[0-9]*"); pattern.matcher(t.getMonth()).matches() 該方法返回boolean類型結果
相關文章
相關標籤/搜索