会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
gu837670823
首页
新随笔
联系
管理
2021年8月10日
java 根据身份证号获取性别
摘要: /** * 根据身份证号判断性别 奇数代表男 偶数代表女 * @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)
2021年8月9日
java根据身份证号获取出生年月日
摘要: 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)
2021年5月26日
css 总结,帮助新入坑的人少走弯路。
摘要: 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)
公告