validation date intervals