/**
     * <p>Return a new instance of {@code SlideDateTimeDialogFragment} with its bundle
     * filled with the incoming arguments.</p>
     *
     * <p>Called by {@link SlideDateTimePicker#show()}.</p>
     *
     * @param listener
     * @param initialDate
     * @param minDate
     * @param maxDate
     * @param isClientSpecified24HourTime
     * @param is24HourTime
     * @param theme
     * @param indicatorColor
     * @return
     */
		public static SlideDateTimeDialogFragment NewInstance(SlideDateTimeListener Listener,Date InitialDate, Date MinDate, Date MaxDate, bool IsClientSpecified24HourTime,bool Is24HourTime, int Theme, int IndicatorColor)
		{
			_listener = Listener;

			// Create a new instance of SlideDateTimeDialogFragment
			SlideDateTimeDialogFragment dialogFragment = new SlideDateTimeDialogFragment();

			// Store the arguments and attach the bundle to the fragment
			Bundle bundle = new Bundle();
			bundle.PutSerializable("initialDate", InitialDate);
			bundle.PutSerializable("minDate", MinDate);
			bundle.PutSerializable("maxDate", MaxDate);
			bundle.PutBoolean("isClientSpecified24HourTime", IsClientSpecified24HourTime);
			bundle.PutBoolean("is24HourTime", Is24HourTime);
			bundle.PutInt("theme", Theme);
			bundle.PutInt("indicatorColor", IndicatorColor);
			dialogFragment.Arguments=bundle;

			// Return the fragment with its bundle
			return dialogFragment;
		}
        /**
         * <p>Return a new instance of {@code SlideDateTimeDialogFragment} with its bundle
         * filled with the incoming arguments.</p>
         *
         * <p>Called by {@link SlideDateTimePicker#show()}.</p>
         *
         * @param listener
         * @param initialDate
         * @param minDate
         * @param maxDate
         * @param isClientSpecified24HourTime
         * @param is24HourTime
         * @param theme
         * @param indicatorColor
         * @return
         */
        public static SlideDateTimeDialogFragment NewInstance(SlideDateTimeListener Listener, Date InitialDate, Date MinDate, Date MaxDate, bool IsClientSpecified24HourTime, bool Is24HourTime, int Theme, int IndicatorColor)
        {
            _listener = Listener;

            // Create a new instance of SlideDateTimeDialogFragment
            SlideDateTimeDialogFragment dialogFragment = new SlideDateTimeDialogFragment();

            // Store the arguments and attach the bundle to the fragment
            Bundle bundle = new Bundle();

            bundle.PutSerializable("initialDate", InitialDate);
            bundle.PutSerializable("minDate", MinDate);
            bundle.PutSerializable("maxDate", MaxDate);
            bundle.PutBoolean("isClientSpecified24HourTime", IsClientSpecified24HourTime);
            bundle.PutBoolean("is24HourTime", Is24HourTime);
            bundle.PutInt("theme", Theme);
            bundle.PutInt("indicatorColor", IndicatorColor);
            dialogFragment.Arguments = bundle;

            // Return the fragment with its bundle
            return(dialogFragment);
        }
 /**
  * <p>Sets the listener that is used to inform the client when
  * the user selects a new date and time.</p>
  *
  * <p>This must be called before {@link #show()}.</p>
  *
  * @param listener
  */
 public void SetListener(SlideDateTimeListener Listener)
 {
     _listener = Listener;
 }
 /**
  * @see SlideDateTimePicker#setListener(SlideDateTimeListener)
  */
 public Builder SetListener(SlideDateTimeListener Listener)
 {
     this.listener = Listener;
     return(this);
 }
		/**
     * <p>Sets the listener that is used to inform the client when
     * the user selects a new date and time.</p>
     *
     * <p>This must be called before {@link #show()}.</p>
     *
     * @param listener
     */
		public void SetListener(SlideDateTimeListener Listener)
		{
			_listener = Listener;
		}
			/**
         * @see SlideDateTimePicker#setListener(SlideDateTimeListener)
         */
			public Builder SetListener(SlideDateTimeListener Listener)
			{
				this.listener = Listener;
				return this;
			}