An alternate way to get week days symbols : DateFormatSymbols « I18N « Java Tutorial






import java.text.DateFormatSymbols;
import java.util.Calendar;

public class Main {

  public static void main(String[] args) {
    String dayNames[] = new DateFormatSymbols().getWeekdays();
    Calendar date2 = Calendar.getInstance();
    System.out.println("Today is a " + dayNames[date2.get(Calendar.DAY_OF_WEEK)]);
  }
}








13.23.DateFormatSymbols
13.23.1.An alternate way to get week days symbols