1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
| private static Map<String, Integer> VACATION_DAYS = new HashMap<>();
static { //元旦 VACATION_DAYS.put("2024-01-01", 1); VACATION_DAYS.put("2024-01-02", 1);
//春节 VACATION_DAYS.put("2024-02-10", 1); VACATION_DAYS.put("2024-02-11", 1); VACATION_DAYS.put("2024-02-12", 1); VACATION_DAYS.put("2024-02-13", 1); VACATION_DAYS.put("2024-02-14", 1); VACATION_DAYS.put("2024-02-15", 1); VACATION_DAYS.put("2024-02-16", 1); VACATION_DAYS.put("2024-02-17", 1);
//清明节 VACATION_DAYS.put("2024-04-04", 1); VACATION_DAYS.put("2024-04-05", 1); VACATION_DAYS.put("2024-04-06", 1);
//五一节 VACATION_DAYS.put("2024-05-01", 1); VACATION_DAYS.put("2024-05-02", 1); VACATION_DAYS.put("2024-05-03", 1); VACATION_DAYS.put("2024-05-04", 1); VACATION_DAYS.put("2024-05-05", 1);
//端午节 VACATION_DAYS.put("2024-06-08", 1); VACATION_DAYS.put("2024-06-09", 1); VACATION_DAYS.put("2024-06-10", 1);
//中秋节 VACATION_DAYS.put("2024-09-15", 1); VACATION_DAYS.put("2024-09-16", 1); VACATION_DAYS.put("2024-09-17", 1);
//国庆节 VACATION_DAYS.put("2024-10-01", 1); VACATION_DAYS.put("2024-10-02", 1); VACATION_DAYS.put("2024-10-03", 1); VACATION_DAYS.put("2024-10-04", 1); VACATION_DAYS.put("2024-10-05", 1); VACATION_DAYS.put("2024-10-06", 1); VACATION_DAYS.put("2024-10-07", 1); }
private static Map<String, Integer> WORK_DAYS = new HashMap<>();
static { //春节补班 WORK_DAYS.put("2024-02-04", 1); WORK_DAYS.put("2024-02-18", 1);
//清明补班 WORK_DAYS.put("2024-04-07", 1);
//五一补班 WORK_DAYS.put("2024-04-28", 1); WORK_DAYS.put("2024-05-11", 1);
//中秋节补班 WORK_DAYS.put("2024-09-14", 1);
//国庆节补班 WORK_DAYS.put("2024-09-29", 1); WORK_DAYS.put("2024-10-12", 1); }
|