-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added ability to set date range for datetimepicker and minimum minute interval for time picker #30
base: master
Are you sure you want to change the base?
Conversation
…lectable increment for minutes.
…ePicker. Implemented month limit.
Removed limit on min year must be greater than max year.
I'm looking for this functionallity as well, could this be merged? |
Why are not merged? |
It's a great feature. @flavienlaurent , are you going to merge it in the main project? |
It's certainly a great feature but there are lots of changes ;) |
@flavienlaurent , I'm ready to be a beta tester! |
Hello, |
date.setDateRange(YEAR, MONTH, DAY, YEAR + 1, MONTH, DAY); on this line i am getting this error, "The method setDateRange(int, int, int, int, int, int) is undefined for the type DatePickerDialog" What is a problem? please help me to solve this |
Hello, |
Any chance of having a min/max time for time picker to go along with the intervals? |
Hey, How can I access the the selected date and time fields from onDateSet() and onTimeSet() methods in my onCreate() method of MainActivity? |
Set the date range by calling: datePickerDialog.setDateRange(startYear, startMonth, startDay, endYear, endMonth, endDay);
Days outside this period will be disabled.
The minute interval restricts you to select every 1/5/10/15 etc minutes (defaults to 1).
The minute interval can be changed for the time picker by calling setMinutesInterval(val);