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