def get_expiration_of_id(self): # ide is majd hivd meg a valid_expiration_of_id-t while self.expiration_of_id == "": self.expiration_of_id = input("Expiration of id:") if self.expiration_of_id == "": print("Expiration of id filed cannot be empty!") elif not (date_handle.check_date(self.expiration_of_id)and self.valid_expiration_of_id()): self.expiration_of_id = ""
def get_birth_of_date(self): while self.date_of_birth == "": self.date_of_birth = input("Date of birth(YYYY.MM.DD):") if self.date_of_birth == "": print("Date of birth field cannot be empty!") elif not (date_handle.check_date(self.date_of_birth)and self.check_birth_date()): self.date_of_birth = ""
def get_last_donation_date(self): while self.last_donation_date == "": self.last_donation_date = input("Last donation date:") if self.last_donation_date == "": print("Last donation field cannot be empty!") elif not (date_handle.check_date(self.last_donation_date) and self.valid_last_donation_date()): self.last_donation_date = ""
def get_date_and_time_of_event(self): while self.date_and_time_of_event == "": self.date_and_time_of_event = input("Event day:") if not (date_handle.check_date(self.date_and_time_of_event)and self.validate_date_and_time_of_event()): self.date_and_time_of_event = ""