/**
* @auther:Wangxl
* @Emile:18335844494@163.com
* @Time:2021/1/6 12:13
*/
public class test {
public static void main(String[] args) {
String[] weekDays = {"周日", "周一", "周二", "周三", "周四", "周五", "周六"};
Calendar calendar=Calendar.getInstance();
System.out.println("今天是"+weekDays[calendar.get(Calendar.DAY_OF_WEEK)-1]);
}
}