DatePickerDialog.setDateConstraints(com.fourmob.datetimepicker.date.CalendarDay, com.fourmob.datetimepicker.date.CalendarDay) instead.
Set the maximum allowed date Note : the month index starts from 0, rest all from 1
DatePickerDialog.setDateConstraints(com.fourmob.datetimepicker.date.CalendarDay, com.fourmob.datetimepicker.date.CalendarDay) instead.
Set the minimum allowed date Note : the month index starts from 0, rest all from 1