public function check() { if (!parent::check()) { return false; } if ($this->parts[3] != 'BC') { return false; } return true; }
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(); }