摘要: 本随笔将会记录学习过程中用到的一些使用的代码 1. int n=Integer.parseInt(new String())//将字符串转换成int类型 阅读全文
posted @ 2016-08-21 11:04 .Oneday 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 1.时期类: 1):Calendar 为抽象方法,创建其对象只能用 Calendar cal=Calendar.getInstance()来创建。 2):在SimpleDateFormat中,将字符串转换成Date:Date a=format.parse(str);反之为String str=for 阅读全文
posted @ 2016-08-21 10:54 .Oneday 阅读(220) 评论(0) 推荐(0) 编辑