TimePeriodValues clone = null;
try {
clone = (TimePeriodValues) series.clone();
clone.setName("Clone Series");
try {
clone.update(0, new Integer(10));
}
catch (SeriesException e) {
System.err.println("TimeSeriesTests.testClone: problem updating series.");
}
}