page1
TP
Exclude
dr1
dr2
dr1
dr2
[ ]
[ ]
[ ]
[ ]
[ ]
[ ]
[ ]
next_from_t
First find
Is valid? YES :(
Is valid?
Is valid?
* True : OK, return it
*No (the more funny case)
Restart and search from this time and loop until begining is far than 1 year.
(1)
(2)
(3)
(4)
(5)
Next invalid
(yes, a good recursive call :) )
(6)