zhezii

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

2018年6月7日 #

修改hbuilder背景颜色为护眼模式

摘要: 复制以下代码,保存为.tmTheme文件导入HBuilder <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/ 阅读全文

posted @ 2018-06-07 13:22 zhezii 阅读(5751) 评论(1) 推荐(0) 编辑

2018年5月24日 #

将字符串类型的出生日期转为int类型的年龄

摘要: public static int getAgeByBirthday(String s) { Date birthday = null; SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd"); try { birthday = fo 阅读全文

posted @ 2018-05-24 11:15 zhezii 阅读(1227) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示