Class BirthdayCheck

java.lang.Object
com.ehealthsystem.tools.BirthdayCheck

public class BirthdayCheck extends Object
  • Field Details

  • Constructor Details

    • BirthdayCheck

      public BirthdayCheck()
  • Method Details

    • isOldEnough

      public static boolean isOldEnough(LocalDate birthday)
      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