摘要: @Test public void testDate(){ Date date=new Date(); System.out.println(date); /*日期格式*/ DateFormat df1=DateFormat.getDateInstance(); System.out.println(df1.... 阅读全文
posted @ 2019-10-29 09:21 小猫钓鱼吃鱼 阅读(96) 评论(0) 推荐(0) 编辑
摘要: @Test public void testString(){ /*字符串处理 */ String email="123456789@qq.com"; System.out.println("字符串长度 "+email.length()); System.out.println(email.indexOf("@")); ... 阅读全文
posted @ 2019-10-29 09:14 小猫钓鱼吃鱼 阅读(97) 评论(0) 推荐(0) 编辑