예제 #1
0
 public function parse(DateTimeParseContext $context, $text, $position)
 {
     if ($context->getParsed($this->field) === null) {
         $context->setParsedField($this->field, $this->value, $position, $position);
     }
     return $position;
 }