code: function(inst, offset, period) {
  		var year = inst.drawYear + (period === "Y" ? offset : 0),
  			month = inst.drawMonth + (period === "M" ? offset : 0),
  			day = Math.min(inst.selectedDay, this._getDaysInMonth(year, month)) + (period === "D" ? offset : 0),
  			date = this._restrictMinMax(inst, this._daylightSavingAdjust(new Date(year, month, day)));
  
  		inst.selectedDay = date.getDate();
  		inst.drawMonth = inst.selectedMonth = date.getMonth();
  		inst.drawYear = inst.selectedYear = date.getFullYear();
  		if (period === "M" || period === "Y") {
  			this._notifyChange(inst);
  		}
  	}
docs: /* Adjust one of the date sub-fields.