Fixed [type=time][min|max] rule.
Add test case for [type=time][min|max].
Fixed [type=week][min|max] rule.
Add test case for [type=week][min|max].