Add timerange writer interface

Yeah.. we may not have gaps.