diff --git a/school-calendar/events2023.json b/school-calendar/events2023.json new file mode 100644 index 0000000..3df9279 --- /dev/null +++ b/school-calendar/events2023.json @@ -0,0 +1,356 @@ +[ + { + "date": "2023-04-05", + "type": "Holiday", + "description": "入学式" + }, + { + "date": "2023-04-06", + "type": "Holiday", + "description": "学群1年次TOEIC IPテスト" + }, + { + "date": "2023-04-07", + "type": "Holiday", + "description": "新入生オリエンテーション" + }, + { + "date": "2023-04-10", + "type": "Holiday", + "description": "オリエンテーション予備日" + }, + { + "date": "2023-04-11", + "type": "Holiday", + "description": "オリエンテーション予備日" + }, + { + "date": "2023-04-12", + "type": "Holiday", + "description": "オリエンテーション予備日" + }, + { + "date": "2023-05-01", + "type": "SubstituteDay", + "description": "", + "changeTo": "Wed" + }, + { + "date": "2023-05-03", + "type": "PublicHoliday", + "description": "憲法記念日" + }, + { + "date": "2023-05-04", + "type": "PublicHoliday", + "description": "みどりの日" + }, + { + "date": "2023-05-05", + "type": "PublicHoliday", + "description": "こどもの日" + }, + { + "date": "2023-05-13", + "type": "Other", + "description": "春季スポーツ・デー" + }, + { + "date": "2023-05-14", + "type": "Other", + "description": "春季スポーツ・デー" + }, + { + "date": "2023-05-23", + "type": "Exam", + "description": "春A 期末試験" + }, + { + "date": "2023-06-28", + "type": "Exam", + "description": "春AB 期末試験" + }, + { + "date": "2023-06-29", + "type": "Exam", + "description": "春AB 期末試験" + }, + { + "date": "2023-06-30", + "type": "Exam", + "description": "春AB 期末試験" + }, + { + "date": "2023-07-03", + "type": "Exam", + "description": "春AB 期末試験" + }, + { + "date": "2023-07-04", + "type": "Exam", + "description": "春AB 期末試験" + }, + { + "date": "2023-07-17", + "type": "PublicHoliday", + "description": "海の日" + }, + { + "date": "2023-07-19", + "type": "SubstituteDay", + "description": "", + "changeTo": "Mon" + }, + { + "date": "2023-08-03", + "type": "Exam", + "description": "春ABC 期末試験" + }, + { + "date": "2023-08-04", + "type": "Exam", + "description": "春ABC 期末試験" + }, + { + "date": "2023-08-07", + "type": "Exam", + "description": "春ABC 期末試験" + }, + { + "date": "2023-08-08", + "type": "Exam", + "description": "春ABC 期末試験" + }, + { + "date": "2023-08-09", + "type": "Exam", + "description": "春ABC 期末試験" + }, + { + "date": "2023-08-10", + "type": "Exam", + "description": "春C 期末試験" + }, + { + "date": "2023-09-25", + "type": "Other", + "description": "卒業式/学位記授与式" + }, + { + "date": "2023-09-29", + "type": "Other", + "description": "秋学期入学式" + }, + { + "date": "2023-09-30", + "type": "Other", + "description": "開学50周年記念式典" + }, + { + "date": "2023-10-02", + "type": "Holiday", + "description": "臨時休業" + }, + { + "date": "2023-10-09", + "type": "SubstituteDay", + "description": "", + "changeTo": "Mon" + }, + { + "date": "2023-11-01", + "type": "SubstituteDay", + "description": "", + "changeTo": "Fri" + }, + { + "date": "2023-11-03", + "type": "Holiday", + "description": "学園祭" + }, + { + "date": "2023-11-04", + "type": "Holiday", + "description": "学園祭" + }, + { + "date": "2023-11-05", + "type": "Holiday", + "description": "学園祭" + }, + { + "date": "2023-11-06", + "type": "Holiday", + "description": "臨時休業" + }, + { + "date": "2023-11-07", + "type": "SubstituteDay", + "description": "", + "changeTo": "Mon" + }, + { + "date": "2023-11-09", + "type": "Exam", + "description": "秋A 期末試験" + }, + { + "date": "2023-11-18", + "type": "Other", + "description": "秋季スポーツ・デー" + }, + { + "date": "2023-11-19", + "type": "Other", + "description": "秋季スポーツ・デー" + }, + { + "date": "2023-11-23", + "type": "PublicHoliday", + "description": "勤労感謝の日" + }, + { + "date": "2023-11-24", + "type": "SubstituteDay", + "description": "", + "changeTo": "Thu" + }, + { + "date": "2023-11-27", + "type": "SubstituteDay", + "description": "", + "changeTo": "Thu" + }, + { + "date": "2023-11-28", + "type": "Holiday", + "description": "学群3年次TOEIC IPテスト" + }, + { + "date": "2023-11-29", + "type": "Holiday", + "description": "推薦入試" + }, + { + "date": "2023-11-30", + "type": "Holiday", + "description": "推薦入試" + }, + { + "date": "2023-12-21", + "type": "Exam", + "description": "秋AB 期末試験" + }, + { + "date": "2023-12-22", + "type": "Exam", + "description": "秋AB 期末試験" + }, + { + "date": "2023-12-25", + "type": "Exam", + "description": "秋AB 期末試験" + }, + { + "date": "2023-12-26", + "type": "Exam", + "description": "秋AB 期末試験" + }, + { + "date": "2023-12-27", + "type": "Exam", + "description": "秋AB 期末試験" + }, + { + "date": "2024-01-08", + "type": "PublicHoliday", + "description": "成人の日" + }, + { + "date": "2024-01-12", + "type": "Holiday", + "description": "臨時休業" + }, + { + "date": "2024-01-15", + "type": "Holiday", + "description": "臨時休業" + }, + { + "date": "2024-01-16", + "type": "SubstituteDay", + "description": "", + "changeTo": "Mon" + }, + { + "date": "2024-02-12", + "type": "PublicHoliday", + "description": "建国記念の日" + }, + { + "date": "2024-02-14", + "type": "SubstituteDay", + "description": "", + "changeTo": "Mon" + }, + { + "date": "2024-02-07", + "type": "Exam", + "description": "秋ABC 期末試験" + }, + { + "date": "2024-02-08", + "type": "Exam", + "description": "秋ABC 期末試験" + }, + { + "date": "2024-02-09", + "type": "Exam", + "description": "秋ABC 期末試験" + }, + { + "date": "2024-02-13", + "type": "Exam", + "description": "秋ABC 期末試験" + }, + { + "date": "2024-02-14", + "type": "Exam", + "description": "秋ABC 期末試験" + }, + { + "date": "2024-02-15", + "type": "Exam", + "description": "秋C 期末試験" + }, + { + "date": "2024-02-16", + "type": "Exam", + "description": "秋C 期末試験" + }, + { + "date": "2024-02-25", + "type": "Other", + "description": "個別学力検査等前期日程" + }, + { + "date": "2024-02-26", + "type": "Other", + "description": "個別学力検査等前期日程" + }, + { + "date": "2024-03-08", + "type": "Other", + "description": "医学類卒業日" + }, + { + "date": "2024-03-12", + "type": "Other", + "description": "個別学力検査等後期日程" + }, + { + "date": "2024-03-25", + "type": "Other", + "description": "卒業式/学位記授与式" + } +] diff --git a/school-calendar/module2023.json b/school-calendar/module2023.json new file mode 100644 index 0000000..53031b3 --- /dev/null +++ b/school-calendar/module2023.json @@ -0,0 +1,50 @@ +[ + { + "year": 2023, + "module": "SpringA", + "start": "2023-04-05", + "end": "2023-05-23" + }, + { + "year": 2023, + "module": "SpringB", + "start": "2023-05-24", + "end": "2023-07-04" + }, + { + "year": 2023, + "module": "SpringC", + "start": "2023-07-05", + "end": "2023-08-10" + }, + { + "year": 2023, + "module": "SummerVacation", + "start": "2023-08-11", + "end": "2023-09-30" + }, + { + "year": 2023, + "module": "FallA", + "start": "2023-10-01", + "end": "2023-11-09" + }, + { + "year": 2023, + "module": "FallB", + "start": "2023-11-10", + "end": "2023-12-27" + }, + { + "year": 2023, + "module": "FallC", + "start": "2024-01-05", + "end": "2024-02-16" + }, + { + "year": 2023, + "module": "SpringVacation", + "start": "2024-02-17", + "end": "2024-03-31" + } +] diff --git a/src/index.ts b/src/index.ts index 947d79d..51a73f7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -69,9 +69,11 @@ async function main() { await importModuleIfNotExist(2020) await importModuleIfNotExist(2021) await importModuleIfNotExist(2022) + await importModuleIfNotExist(2023) await importEventsIfNotExist(2020) await importEventsIfNotExist(2021) await importEventsIfNotExist(2022) + await importEventsIfNotExist(2023) logger.info('Ready') }