Java tutorial
import java.text.DateFormatSymbols; public class Main { public static void main(String[] args) { String[] weekdays = new DateFormatSymbols().getWeekdays(); for (int i = 0; i < weekdays.length; i++) { String weekday = weekdays[i]; System.out.println("weekday = " + weekday); } } }