code: public static final DateFragment newInstance(int theme, int year, int month,
              int day, Date minDate, Date maxDate)
      {
          DateFragment f = new DateFragment();
  
          Bundle b = new Bundle();
          b.putInt("theme", theme);
          b.putInt("year", year);
          b.putInt("month", month);
          b.putInt("day", day);
          b.putSerializable("minDate", minDate);
          b.putSerializable("maxDate", maxDate);
          f.setArguments(b);
  
          return f;
      }
docs: Return an instance of DateFragment with its bundle filled with the
  constructor arguments. The values in the bundle are retrieved in
  {@link #onCreateView()} below to properly initialize the DatePicker.
  
  @param theme
  @param year
  @param month
  @param day
  @param minDate
  @param maxDate
  @return an instance of DateFragment