public static void Main()
var input = new Tuple<int, int>[] {
var start = DateTimeOffset.Parse("2016-09-30T00:00:00Z");
Console.WriteLine("Expected");
input.Zip(new[] {start}.Concat(input.Scan(start, (acc, source) => acc.AddSeconds(source.Item2))), (l, r) => Tuple.Create(l, r)).ForEach(x => Console.WriteLine(x));
Console.WriteLine("Actual");
input.Publish(pub => pub.Zip(new[] {start}.Concat(pub.Scan(start, (acc, source) => acc.AddSeconds(source.Item2))), (l, r) => Tuple.Create(l, r))).ForEach(x => Console.WriteLine(x));