public void setSelectedDate ( int year , int month , int day ) { dateSpinner . setSelectedDate ( new GregorianCalendar ( year , month , day ) ) ; // a custom selection has been set, don't select the default date: shouldSelectDefault = false ; }
Sets the Spinners date selection as integers considering only day .