Representing data intervals with date offsets