Lines Matching refs:year
61 private static final String KEY_SELECTED_YEAR = "year";
120 * @param year The year that was set.
125 void onDateSet(DatePickerDialog dialog, int year, int monthOfYear, int dayOfMonth);
143 * @param year The initial year of the dialog.
147 public static DatePickerDialog newInstance(OnDateSetListener callBack, int year,
151 ret.initialize(callBack, year, monthOfYear, dayOfMonth);
155 public void initialize(OnDateSetListener callBack, int year, int monthOfYear, int dayOfMonth) {
157 mCalendar.set(Calendar.YEAR, year);
372 throw new IllegalArgumentException("Year end must be larger than year start");
384 * @param calendar a Calendar object set to the year, month, day desired as the mindate.
405 * @param calendar a Calendar object set to the year, month, day desired as the maxdate.
427 // If the newly selected month / year does not contain the currently selected day number,
428 // change the selected day number to the last day of the selected month or year.
431 private void adjustDayInMonthIfNeeded(int month, int year) {
433 int daysInMonth = Utils.getDaysInMonth(month, year);
450 public void onYearSelected(int year) {
451 adjustDayInMonthIfNeeded(mCalendar.get(Calendar.MONTH), year);
452 mCalendar.set(Calendar.YEAR, year);
459 public void onDayOfMonthSelected(int year, int month, int day) {
460 mCalendar.set(Calendar.YEAR, year);