import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
public class Main{
public static void main(String[] args) {
Date date1 = (new GregorianCalendar(2009, Calendar.OCTOBER, 17)).getTime();
System.out.println(new SimpleDateFormat("EEEE").format(date1));
}
}
|