Ejemplo n.º 1
0
 public function check()
 {
     if (!$this->separator) {
         return false;
     }
     if (DateParser::contains_ambiguous_keyword($this->raw_date)) {
         $this->is_ambiguous = true;
     }
     $month_name = DateParser::contains_a_month_name($this->parts);
     if (!$month_name) {
         return false;
     }
     $this->parts = \DateParser::strip_invalid_parts($this->parts);
     return parent::check();
 }