isBirthdateValidFun

Dummy birthdate validation.

birthdate is considered to be valid if it is less than current LocalDateTime.

As the format is pretty simple, and it is filled with DatePicker, we can simply split the string by dots and try to compare days, months and years.

Return

true if birthdate is a valid birthdate string, false otherwise

Parameters

birthdate

date of birth in format DD.MM.YYYY