BirthdateGenerator generator¶
Generate a date of birth within configurable minimum and maximum ages.
Why: Use BirthdateGenerator when a person's date of birth must satisfy an inclusive age range at the run's reference date; use DateTimeGenerator for dates that are not age-derived.
Category: person.
Output: datetime.
1 | |
Parameters¶
min_age:int; Default1— Inclusive minimum age represented by the generated birthdate.max_age:int; Default100— Inclusive maximum age represented by the generated birthdate.