# File lib/faker/date.rb, line 33 def birthday(min_age = 18, max_age = 65) t = ::Date.today top_bound, bottom_bound = prepare_bounds(t, min_age, max_age) years = handled_leap_years(top_bound, bottom_bound) from = ::Date.new(years[0], t.month, t.day) to = ::Date.new(years[1], t.month, t.day) between(from, to).to_date end