Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 맥톰캣설치
- Ant설치
- MacTomcat
- 날짜클래스
- 태그를 입력해 주세요.
- API
- InputStream
- throws
- 입출력
- 맥Ant설치
- 폴더재설정
- 맥단축키
- 이클립스 ANt
- 포맷팅
- 랜덤클래스
- equals
- 맥명령어
- OutputStream
- antbuild
- 윈도우Ant
- githubblog
- 터미널명령어
- 널포인트
- NullPointException
- java
- githubpage
- random
- 맥숨긴폴더
- 타이머테스크
- auto boxing
Archives
- Today
- Total
목록날짜클래스 (1)
Platonic의 조금은 재밌는 일상
API 날짜 관련 클래스 Date, Calendar
날짜 관련 클래스 Date, Calendar날짜 관련해서 가장 많이 쓰이는 작업들 특정 날짜의 년,월,일,요일 확인하기 특정 월의 마지막 날짜 구하기 문자열을 Date/Calendar로 변환하기 날짜들 간의 시간 차이 구하기 Date는 더이상 쓰면 안된다.기존의 만들어 놓은 코드때문에 쓰이는 것이다.JDK 1.1 이 후부터 Calendar로 교체 되었다. public static void main(String[] args) { long current = System.currentTimeMillis(); System.out.println(current); Date today1 = new Date(); //Date는 예제. 쓰지 않는 편이 좋다. System.out.println(today1); //Date..
Programming 프로그래밍/Java
2015. 10. 27. 08:24