TimeDomain dom = Day.DOMAIN;
UpdatableSeries<Double> s = db.getUpdatableSeries(SERIES, true).typeCheck(Double.class);
TimeAddressable<Double> ts = TimeSeriesFactory.make(dom, Double.class);
ts.put(dom.time("2011-05-01"), 201105.01);
ts.put(dom.time("2011-05-02"), 201105.02);
ts.put(dom.time("2011-06-01"), 201106.01);
ts.put(dom.time("2011-06-30"), 201106.30);
ts.put(dom.time("2011-07-01"), 201107.01);
s.setValues(ts);
s.applyUpdates();
assertEquals("[2011-05-01, 2011-07-01]", s.getRange().toString());