示例#1
0
 @Override
 public void run() {
   final long timePassed = (System.currentTimeMillis() - creationTime);
   setTime(initialTime + timePassed);
 }
示例#2
0
 public TimeUpdateTask() {
   creationTime = System.currentTimeMillis();
   initialTime = time;
 }