File tree Expand file tree Collapse file tree
src/main/java/koreatech/in/domain Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package koreatech .in .domain ;
22
33import koreatech .in .skillresponse .KakaoBotEnum ;
4+ import org .springframework .data .redis .core .ValueOperations ;
45
6+ import javax .annotation .Resource ;
57import java .text .ParseException ;
68import java .text .SimpleDateFormat ;
7- import java .util .Calendar ;
8- import java .util .HashMap ;
9- import java .util .Map ;
10- import java .util .TimeZone ;
9+ import java .util .*;
1110
1211public class KakaoBot {
1312 private static final Map <String , String > changeWord = new HashMap <String , String >() {{
@@ -25,40 +24,37 @@ public class KakaoBot {
2524 // 방학중 셔틀 정보 : https://www.koreatech.ac.kr/kor/CMS/Contents/Contents.do?mCode=MN318
2625 // 2019년 겨울 방학 셔틀 : https://www.koreatech.ac.kr/kor/CMS/NoticeMgr/view.do?mCode=MN230&post_seq=25166&board_id=14
2726 private static final String [] expressFromKoreatechToTerminal = {
28- "08:00 " ,
27+ "08:35 " ,
2928 "09:35" ,
30- "10:30 " ,
31- "11:45 " ,
29+ "10:35 " ,
30+ "11:30 " ,
3231 "12:35" ,
33- "14:00 " ,
34- "15:05 " ,
35- "16:00 " ,
36- "16:55 " ,
37- "18:05 " ,
38- "18:55 " ,
39- "20:00 " ,
40- "21:05 " ,
41- "21:55 "
32+ "13:35 " ,
33+ "14:35 " ,
34+ "15:30 " ,
35+ "16:35 " ,
36+ "17:35 " ,
37+ "18:35 " ,
38+ "19:35 " ,
39+ "20:30 " ,
40+ "22:05 "
4241 };
4342
4443 private static final String [] expressFromTerminalToKoreatech = {
4544 "07:00" ,
46- "07:30 " ,
45+ "08:00 " ,
4746 "09:00" ,
4847 "10:00" ,
49- "10:30" ,
5048 "11:00" ,
5149 "12:00" ,
5250 "13:00" ,
5351 "14:00" ,
54- "14:30" ,
5552 "15:00" ,
5653 "16:00" ,
5754 "17:00" ,
58- "17:50 " ,
59- "19:30 " ,
55+ "18:00 " ,
56+ "19:00 " ,
6057 "20:30" ,
61- "21:00"
6258 };
6359 private static final String [][] shuttleFromKoreatech = {
6460 { // 월요일
You can’t perform that action at this time.
0 commit comments