摘要: /** * 根据身份证号判断性别 奇数代表男 偶数代表女 * @param idNumber * @return */ public static String gender(String idNumber) { int gender = 0; if(idNumber.length() == 18) 阅读全文
posted @ 2021-08-10 16:12 gu837670823 阅读(2299) 评论(0) 推荐(0)
摘要: public static String getBirthdayForIdcardStr(String card){ if (card.length() == 18) { String year = card.substring(6).substring(0, 4);// 得到年份 String y 阅读全文
posted @ 2021-08-09 17:36 gu837670823 阅读(1648) 评论(0) 推荐(0)
摘要: 1 选择器最常用的有这么两种: id选择器 : HTML元素以id属性来设置id选择器,CSS 中 id 选择器以 "#" 来定义。 示例: id="test" 在css中 #test{ css.... } class选择器: 选择器在HTML中以class属性表示, 在 CSS 中,类选择器以一个 阅读全文
posted @ 2021-05-26 15:13 gu837670823 阅读(58) 评论(0) 推荐(0)