public void selectDate(Date date){
  if (date == null)   return;
  Calendar calendar=Calendar.getInstance();
  calendar.setTime(date);
  selectDate(calendar);
}

public void selectDate ( Date date ) { if ( date == null ) return ; Calendar calendar = Calendar . getInstance ( ) ; calendar . setTime ( date ) ; selectDate ( calendar ) ; }
select the date in the flexiblecalendar
