just copy the generator for an Interval over (from the Generators file in Summingbird).