摘要:
System.out.println(new SimpleDateFormat("yyyyMMdd hhmmss").format(new Date())); 阅读全文
posted @ 2021-05-12 14:14
饮木
阅读(714)
评论(0)
推荐(0)
摘要:
1 Calendar calendar=new GregorianCalendar();//子类实例化 2 System.out.println("年: "+calendar.get(Calendar.YEAR)); 3 System.out.println("月 "+(calendar.get(C 阅读全文
posted @ 2021-05-12 10:58
饮木
阅读(751)
评论(0)
推荐(0)

浙公网安备 33010602011771号