protected function renderCalendarMonthOptions($writer, $selected = null)
{
$info = $this->getLocalizedCalendarInfo();
$writer->addAttribute('id', $this->getClientID() . TControl::CLIENT_ID_SEPARATOR . 'month');
$writer->addAttribute('name', $this->getUniqueID() . TControl::ID_SEPARATOR . 'month');
$writer->addAttribute('class', 'datepicker_month_options');
if ($this->getReadOnly() || !$this->getEnabled(true)) {
$writer->addAttribute('disabled', 'disabled');
}
$writer->renderBeginTag('select');
$this->renderDropDownListOptions($writer, $this->getLocalizedMonthNames($info), $selected - 1);
$writer->renderEndTag();
}