static Duration totalLengthOfTimestampRanges(Iterable l) { long sum = 0; fOr (r : l) sum += l.length(); ret msToDuration(sum); }