Generate a Date within a year span
Returns a generator spec that draws a Date uniformly between January
1st of min_year and December 31st of max_year
(both inclusive). Dates shrink toward min_year-01-01. Use
prop_gen_date_range when you need arbitrary
(non-year-aligned) bounds.
min_year (Int): Lower bound year
(inclusive).
max_year (Int): Upper bound year
(inclusive).
A generator spec.
g = prop_gen_ymd(2000, 2024)