摘要: public static void main(String[] args) { Calendar now = Calendar.getInstance(); System.out.println("年: " + now.get(Calendar.YEAR)); System.out.println 阅读全文
posted @ 2017-07-24 16:52 程序员の奇妙冒险 阅读(13) 评论(0) 推荐(0)
摘要: var dateRegularExpression = /^((\d{2}(([02468][048])|([13579][26]))[\-\/\s]?((((0?[13578])|(1[02]))[\-\/\s]?((0?[1-9])|([1-2][0-9])|(3[01])))|(((0?[46 阅读全文
posted @ 2017-07-24 15:18 程序员の奇妙冒险 阅读(16) 评论(0) 推荐(0)