code: function(target, name, value) {
  		var inst = this._getInst(target);
  		if (arguments.length == 2 && typeof name == 'string') {
  			return (name == 'defaults' ? $.extend({}, $.datepicker._defaults) :
  				(inst ? (name == 'all' ? $.extend({}, inst.settings) :
  				this._get(inst, name)) : null));
  		}
  		var settings = name || {};
  		if (typeof name == 'string') {
  			settings = {};
  			settings[name] = value;
  		}
  		if (inst) {
  			if (this._curInst == inst) {
  				this._hideDatepicker();
  			}
  			var date = this._getDateDatepicker(target, true);
  			var minDate = this._getMinMaxDate(inst, 'min');
  			var maxDate = this._getMinMaxDate(inst, 'max');
  			extendRemove(inst.settings, settings);
  			// reformat the old minDate/maxDate values if dateFormat changes and a new minDate/maxDate isn't provided
  			if (minDate !== null && settings['dateFormat'] !== undefined && settings['minDate'] === undefined)
  				inst.settings.minDate = this._formatDate(inst, minDate);
  			if (maxDate !== null && settings['dateFormat'] !== undefined && settings['maxDate'] === undefined)
  				inst.settings.maxDate = this._formatDate(inst, maxDate);
  			this._attachments($(target), inst);
  			this._autoSize(inst);
  			this._setDate(inst, date);
  			this._updateAlternate(inst);
  			this._updateDatepicker(inst);
  		}
  	}
docs: /* Update or retrieve the settings for a date picker attached to an input field or division.
  @param  target  element - the target input field or division or span
  @param  name    object - the new settings to update or
  string - the name of the setting to change or retrieve,
  when retrieving also 'all' for all instance settings or
  'defaults' for all global defaults
  @param  value   any - the new value for the setting
  (omit if above is an object or to retrieve a value)