protected function hasDayPattern() { $formatter = new TSimpleDateFormatter($this->getDateFormat()); return $formatter->getDayPattern() !== null; }