怎们取得系统当前日期与星期 corejava.Day today = new corejava.Day();//获得当前系统日期today.weekday()//可获得是星期几(如:corejava.Day.SUNDAY) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 这样:Calendar now = new GregorianCalendar();System.out.println(now.get(Calendar.DAY_OF_MONTH)); 当前日期Calendar.getInstance().get(Calendar.DAY_OF_MONTH);星期几Calendar.getInstance().get(Calendar.DAY_OF_WEEK); 看看http://www.csdn.net/develop/article/11/11145.shtm 新手问题,帮解决一下,谢谢。 JTable cell编辑颜色、文本 repaint方法是不是与paint()方法是成对调用的,固定的? 线程覆盖,线程中包括了SOCKET的通讯 java如何操作word,急!!! 一个奇怪的异常,帮忙看看。 希望各位高手特别是wlmmlw(吴铭)近来一下,谢谢 如此简单的代码,为什么过不去?(有关IO) 建立实例的问题,请进来指点有关new的使用 JTable可以不放在JScrollPane中而且产生列头吗? 邮件系统设计思路 scjp考试中,awt,gui部分是不是重点呢,考试中这方面的题多吗,请考过的朋友指点一下!
Calendar now = new GregorianCalendar();
System.out.println(now.get(Calendar.DAY_OF_MONTH));
Calendar.getInstance().get(Calendar.DAY_OF_MONTH);
星期几
Calendar.getInstance().get(Calendar.DAY_OF_WEEK);
http://www.csdn.net/develop/article/11/11145.shtm