Java tutorial
import java.text.DateFormatSymbols; public class MainClass { public static void main(String[] args) { String[] weekdays = new DateFormatSymbols().getWeekdays(); // Get day names for (String s : weekdays) { System.out.println(s); } } }