Java判断某日期是一周当中的第几天 Calendar cal = Calendar.getInstance();cal.setTime(new Date());long whichDay1 = calendar.get(Calendar.DAY_OF_WEEK);