public Timer stop(){
  if (baseTime != 0) {
    elapsedTime=elapsedTime + (System.currentTimeMillis() - baseTime);
  }
  baseTime=0;
  return this;
}

public Timer stop ( ) { if ( baseTime != 0 ) { elapsedTime = elapsedTime + ( System . currentTimeMillis ( ) - baseTime ) ; } baseTime = 0 ; return this ; }
stops the timer . you can start it again later , if necessary .
