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