Java判斷指定日期是周幾並轉換爲中文

源碼👆 String[] weeks = {"星期日","星期一","星期二","星期三","星期四","星期五","星期六"};         Calendar cal = Calendar.getInstance();         cal.setTime(new Date());         System.out.println(cal.get(Calendar.DAY_OF_WE
相關文章
相關標籤/搜索