}
} else {
groupDisplayName = groupName;
}
final TimeInterval completeDuration = result.getCompleteDuration(groupName);
final Task completeDurationTask = new Task(groupDisplayName, createTimePeriod(completeDuration.getFrom(),
completeDuration.getTo()));
completeDurationTaskSeries.add(completeDurationTask);
// plot gaps
{
final SortedSet<TimeInterval> gaps = result.getGaps(groupName);