';
var tbody = (!showWeek ? '' : '' +
this._get(inst, 'calculateWeek')(printDate) + ' | ');
for (var dow = 0; dow < 7; dow++) { // create date picker days
var daySettings = (beforeShowDay ?
beforeShowDay.apply((inst.input ? inst.input[0] : null), [printDate]) : [true, '']);
var otherMonth = (printDate.getMonth() != drawMonth);
var unselectable = (otherMonth && !selectOtherMonths) || !daySettings[0] ||
(minDate && printDate < minDate) || (maxDate && printDate > maxDate);
tbody += '' + // actions
(otherMonth && !showOtherMonths ? ' ' : // display for other months
(unselectable ? '' + printDate.getDate() + '' : '' + printDate.getDate() + '')) + ' | '; // display selectable date
printDate.setDate(printDate.getDate() + 1);
printDate = this._daylightSavingAdjust(printDate);
}
calender += tbody + '
';
}
drawMonth++;
if (drawMonth > 11) {
drawMonth = 0;
drawYear++;
}
calender += '