나는 아래의 코드를 사용하지만해서는 안됩니다 - 제가 값을 얻고 얻기! ..자바 (안드로이드)에서 달력 기능에 의해 음의 값
Calendar calendar = Calendar.getInstance();
calendar.clear();
calendar.set(2013, 10, 31, 23, 00);
ctim=calendar.getTimeInMillis();//system time at shut down
calendar.clear();
calendar.set(2013, 11, 1, 1, 00);
long cTime = calendar.getTimeInMillis();//system time at restart
timediff = cTime-ctim;
내가 잘못이 무엇인지 잘 모릅니다 .. ?? !!