If you call setMinDate in a picker with a persian year before 1350, the year picker doesn't show years before 1350. It seems that mMinYear is always set with DEFAULT_START_YEAR, which is 1350. The method that should set this value, setYearRange, is not used in code.
Consider removing the limit on DatePickerDialog.java:600return mMinDate != null && mMinDate.getPersianYear() > mMinYear ? mMinDate.getPersianYear() : mMinYear;
If you call
setMinDate
in a picker with a persian year before 1350, the year picker doesn't show years before 1350. It seems thatmMinYear
is always set withDEFAULT_START_YEAR
, which is1350
. The method that should set this value,setYearRange
, is not used in code.Consider removing the limit on
DatePickerDialog.java:600
return mMinDate != null && mMinDate.getPersianYear() > mMinYear ? mMinDate.getPersianYear() : mMinYear;