/** * @param callBack How the parent is notified that the date is set. * @param year The initial year of the dialog. * @param monthOfYear The initial month of the dialog. * @param dayOfMonth The initial day of the dialog. */ public static CalendarDatePickerDialog newInstance( OnDateSetListener callBack, int year, int monthOfYear, int dayOfMonth) { CalendarDatePickerDialog ret = new CalendarDatePickerDialog(); ret.initialize(callBack, year, monthOfYear, dayOfMonth); return ret; }