Manipulation with date periods: intersection, splitting etc.