public TimeLimit(int p_seconds){
  long time_now=System.currentTimeMillis();
  if (p_seconds < 1)   p_seconds=1;
  if (p_seconds > 60)   throw new IllegalArgumentException("p_seconds too big = " + p_seconds);
  target_time_ms=time_now + p_seconds * 1000;
}

public TimeLimit ( int p_seconds ) { long time_now = System . currentTimeMillis ( ) ; if ( p_seconds < 1 ) p_seconds = 1 ; if ( p_seconds > 60 ) throw new IllegalArgumentException ( "p_seconds too big = " + p_seconds ) ; target_time_ms = time_now + p_seconds * 1000 ; }
creates a new instance with a time limit of p_seconds minimum value is clipped at 1 , max value throws an exception the idea is that i wish to pick up the situations where autoroute fails due to some timing limitations
