protected function getStdEditControl($readOnly = false)
 {
     $control = new InputDateTimeControl(null, $this->name);
     if ($this->value != null && $this->value->getTimestamp() > 0) {
         $control->setValue($this->toString());
     }
     $control->setReadOnly($readOnly);
     if ($this->validation != '') {
         $control->addCssClass($this->validation);
     }
     return $control;
 }
 protected function getStdEditControl($readOnly = false)
 {
     $control = new InputDateTimeControl(null, $this->name);
     $control->setMode(InputDateTimeControl::MODE_TIME);
     $control->setValue($this->toString());
     $control->setReadOnly($readOnly);
     if ($this->validation != '') {
         $control->addCssClass($this->validation);
     }
     return $control;
 }