Possible Duplicate:
Android: how to get the current day of the week (Monday, etc…) in user language?
我想在java中获取特定日期的日期用于android应用程序开发。 例如。周日 2011年8月7日 2011年8月14日 2011年8月21日
最佳答案
Date date1 = (new GregorianCalendar(2011 , Calendar.AUGUST, 28)).getTime();
Format formatter = new SimpleDateFormat("EEEE");
String s = formatter.format(date1); // s==Sunday
关于java - 如何在java中获取Android应用程序开发中的特定日期?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7240249/