You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
386 B
Java
11 lines
386 B
Java
import java.text.SimpleDateFormat;
|
|
import java.text.DateFormatSymbols;
|
|
public class Main {
|
|
public static void main(String[] args) {
|
|
String[] weekdays = new DateFormatSymbols().getWeekdays();
|
|
for (int i = 2; i < (weekdays.length-1); i++) {
|
|
String weekday = weekdays[i];
|
|
System.out.println("weekday = " + weekday);
|
|
}
|
|
}
|
|
} |