From: INOPIAE Date: Fri, 29 Jul 2016 06:19:57 +0000 (+0200) Subject: upd: moved the lower year range to 1890 so the age check of the DoB with X-Git-Url: https://code.wpia.club/?p=gigi.git;a=commitdiff_plain;h=53382eea65187663263f6a42ca4f764059f60c90;ds=sidebyside upd: moved the lower year range to 1890 so the age check of the DoB with 120 years is working Change-Id: I5112bbe4fa18c7b8757d1a36e9065b9550eb6451 --- diff --git a/src/org/cacert/gigi/output/DateSelector.java b/src/org/cacert/gigi/output/DateSelector.java index 5f4c92eb..a1753269 100644 --- a/src/org/cacert/gigi/output/DateSelector.java +++ b/src/org/cacert/gigi/output/DateSelector.java @@ -115,7 +115,7 @@ public class DateSelector implements Outputable { } public boolean isValid() { - if ( !(1900 < year && 1 <= month && month <= 12 && 1 <= day && day <= 32)) { + if ( !(1890 < year && 1 <= month && month <= 12 && 1 <= day && day <= 32)) { return false; }