Date now = new Date() // 현재시간 읽어오기
Date next = new Date(now.getTime() + (long) (n * 1000)); // now 부터 n 초 후의 시간
시간측정
final long start = System.currentTimeMillis();
long end = System.currentTimeMillis() - start;
* 자바 날짜/시간 계산 예제코드
http://www.yunsobi.com/blog/325
* 자바 날짜와 시간 API
http://helloworld.naver.com/helloworld/textyle/645609
역사부터 꼼꼼하게 정리
'Java' 카테고리의 다른 글
gRPC java 사용하기 (구글 프로토콜 버퍼) (0) | 2019.02.25 |
---|