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

`line.date_from < dt < line.date_to`