Code Duplication    Length = 4-4 lines in 2 locations

Resources/Public/JavaScript/jquery-ui.js 2 locations

@@ 8865-8868 (lines=4) @@
8862
			this._daylightSavingAdjust( new Date( drawYear, drawMonth + stepMonths, 1 ) ),
8863
			this._getFormatConfig( inst ) ) );
8864
8865
		next = ( this._canAdjustMonth( inst, +1, drawYear, drawMonth ) ?
8866
			"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click'" +
8867
			" title='" + nextText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "w" : "e" ) + "'>" + nextText + "</span></a>" :
8868
			( hideIfNoPrevNext ? "" : "<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='" + nextText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "w" : "e" ) + "'>" + nextText + "</span></a>" ) );
8869
8870
		currentText = this._get( inst, "currentText" );
8871
		gotoDate = ( this._get( inst, "gotoCurrent" ) && inst.currentDay ? currentDate : today );
@@ 8855-8858 (lines=4) @@
8852
			this._daylightSavingAdjust( new Date( drawYear, drawMonth - stepMonths, 1 ) ),
8853
			this._getFormatConfig( inst ) ) );
8854
8855
		prev = ( this._canAdjustMonth( inst, -1, drawYear, drawMonth ) ?
8856
			"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click'" +
8857
			" title='" + prevText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "e" : "w" ) + "'>" + prevText + "</span></a>" :
8858
			( hideIfNoPrevNext ? "" : "<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='" + prevText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "e" : "w" ) + "'>" + prevText + "</span></a>" ) );
8859
8860
		nextText = this._get( inst, "nextText" );
8861
		nextText = ( !navigationAsDateFormat ? nextText : this.formatDate( nextText,