-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getAge() is inconsistent with getDateOfBirth() #94
Comments
@mariuszs @OlgaMaciaszek |
Yes! :) |
@mariuszs I think this issue is related to how we calculate age. Here is the example of the current calculation: jfairy/src/main/java/com/devskiller/jfairy/producer/person/DefaultPersonProvider.java Lines 196 to 198 in 126d1c8
I think this is legitimate. @urbanaut Could you elaborate on what you expect? Thanks. |
@mariuszs |
Ok, thanks! |
When a person object is instantiated, and then date of birth and age are generated, the age will not match up with birth date year.
The text was updated successfully, but these errors were encountered: