public void setDate(int year, int month, int day) {
        Calendar to = Calendar.getInstance();
        to.set(year, month, day);
        setDate(to);
    }
public void setDate ( int year , int month , int day ) { Calendar to = Calendar . getInstance ( ) ; to . set ( year , month , day ) ; setDate ( to ) ; }
This function set the date on the DatePicker using the year, month and day provided. <b>Note:</b> month is
0-based (January - 0)

@param year
The full year.
@param month
The month. (0-based, 0 for January)
@param day
The day of the month.