Stay organized with collections
Save and categorize content based on your preferences.
DatePickerDialog.OnDateSetListener
public
static
interface
DatePickerDialog.OnDateSetListener
| android.app.DatePickerDialog.OnDateSetListener
|
The listener used to indicate the user has finished selecting a date.
Summary
Public methods
public abstract void onDateSet (DatePicker view,
int year,
int month,
int dayOfMonth)
| Parameters |
view |
DatePicker: the picker associated with the dialog |
year |
int: the selected year |
month |
int: the selected month (0-11 for compatibility with
Calendar.MONTH) |
dayOfMonth |
int: the selected day of the month (1-31, depending on
month) |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-12-04 UTC.
[null,null,["Last updated 2026-12-04 UTC."],[],[]]