[IMP] base/ir/ir_sequence : New subsequences for date ranges and convert to new api

`date < line.date_from < date_to`?