일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- AWS
- c#
- kubernetes
- mybatis
- 코틀린
- git
- machine-learning
- 스프링부트
- github
- 도커
- Spring Boot
- docker
- 쿠버네티스
- design pattern
- Winform
- 스프링
- MySQL
- Python
- VOA
- Kotlin
- 리팩토링
- 마이바티스
- react
- Java
- 리액트
- Spring
- springboot
- 자바
- 파이썬
- DataGridView
Archives
- Today
- Total
목록캘린더 클래스 (1)
보뇨 다이어리
Calendar 클래스에서 특정 날짜의 요일가져오기
음...결론부터 말하면 원래 안됨 !! 이게 뭔소리인가 하면 한번 코드를 먼저 보자 Calendar cal = Calendar.getInstance(); System.out.println(call.DAY_OF_WEEK); call.set(1995, 5, 25); System.out.println(call.DAY_OF_WEEK); 이렇게 해봤자 DAY_OF_WEEK 은 변함이 없이 동일한 값을 뱉는다 왜 그럴까 찾아보니 문서쪽에 잘나와있더라..^^; Sets the values for the calendar fields YEAR, MONTH, and DAY_OF_MONTH. Previous values of other calendar fields are retained. If this is not desi..
컴퓨터 관련/Java 정보
2019. 7. 17. 22:31