*
* @return A sample collection.
*/
private TaskSeriesCollection createCollection2() {
TaskSeriesCollection result = new TaskSeriesCollection();
TaskSeries s1 = new TaskSeries("S1");
Task t1 = new Task("Task 1", new Date(10), new Date(20));
t1.addSubtask(new Task("Task 1A", new Date(10), new Date(15)));
t1.addSubtask(new Task("Task 1B", new Date(16), new Date(20)));
t1.setPercentComplete(0.10);
s1.add(t1);
Task t2 = new Task("Task 2", new Date(30), new Date(40));
t2.addSubtask(new Task("Task 2A", new Date(30), new Date(35)));
t2.addSubtask(new Task("Task 2B", new Date(36), new Date(40)));
t2.setPercentComplete(0.20);
s1.add(t2);
result.add(s1);
TaskSeries s2 = new TaskSeries("S2");
Task t3 = new Task("Task 3", new Date(50), new Date(60));
t3.addSubtask(new Task("Task 3A", new Date(50), new Date(55)));
t3.addSubtask(new Task("Task 3B", new Date(56), new Date(60)));
t3.setPercentComplete(0.30);
s2.add(t3);
result.add(s2);
return result;
}