public synchronized void add(Date x,double y){
  super.add(x.getTime(),y);
}

public synchronized void add ( Date x , double y ) { super . add ( x . getTime ( ) , y ) ; }
adds a new value to the series .
