t1.addValue("Category C", new Timeline.Value(now + 1200, 513));
t1.addValue("Category C", new Timeline.Value(now + 2100, 912));
t1.addValue("Category C", new Timeline.Value(now + 3800, 485));
Cluster cluster = new Cluster();
cluster.addGroup("default", 2);
TimelineDocument doc = new TimelineDocument(new TimelineDocument.Configuration(), "test", "testconfig", "Test Config", Arrays.asList(t0, t1), cluster);
try {
doc.open();
doc.writeTimelines();
doc.close();