public void addTimeToBounds(long timeStamp){
  long oldStartTime=startTime;
  long oldEndTime=endTime;
  addTime(timeStamp);
  if (oldStartTime != startTime || oldEndTime != endTime) {
    fireUpdateTimeBounds(new TimeBoundsEvent(this,new TimeBounds(oldStartTime,oldEndTime),new TimeBounds(startTime,endTime)));
  }
}

public void addTimeToBounds ( long timeStamp ) { long oldStartTime = startTime ; long oldEndTime = endTime ; addTime ( timeStamp ) ; if ( oldStartTime != startTime || oldEndTime != endTime ) { fireUpdateTimeBounds ( new TimeBoundsEvent ( this , new TimeBounds ( oldStartTime , oldEndTime ) , new TimeBounds ( startTime , endTime ) ) ) ; } }
add a time to the time range , fire a timeboundsevent if the time range changes .
