public function check() { if (!$this->separator) { return false; } $this->parts[0] = DateParser::get_day_from_nth_day($this->parts[0]); return parent::check(); }
public function parse() { parent::parse(); if ($this->ambiguous) { $this->certainty = new Ambiguous(); } else { $this->certainty = new Likely(); } }