Package com.ehealthsystem.tools
Class BirthdayCheck
java.lang.Object
com.ehealthsystem.tools.BirthdayCheck
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isOldEnough
(LocalDate birthday) Check if a date of birth fulfills system's certain defined minimum age requirement
-
Field Details
-
MINIMUM_AGE
public static final int MINIMUM_AGE- See Also:
-
-
Constructor Details
-
BirthdayCheck
public BirthdayCheck()
-
-
Method Details
-
isOldEnough
Check if a date of birth fulfills system's certain defined minimum age requirement- Parameters:
birthday
- the date of birth to check- Returns:
- if the date of birth fulfills the requirement
-