protected function _setDefaultStartDate(array $offsets = null)
{
if (!empty($this->_startDate)) {
return;
}
if (!empty($offsets['stdyear'])) {
$this->_startDate = new Horde_Date($offsets['stdyear'] . '-01-01');
} else {
$start = new Horde_Date(time());
$start->year--;
$this->_startDate = $start;
}
}