# Print output for @column tags ?> DatePickerDialog.OnDateSetListener - Android SDK | Android Developers

Most visited

Recently visited

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

abstract void onDateSet(DatePicker view, int year, int month, int dayOfMonth)

Public methods

onDateSet

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)