protected function checkValue(): void
    {
        if ((!is_string($this->value) && !is_numeric($this->value)) || strtotime($this->value) === false) {
            throw new InvalidArgumentException('DateParser: Value must be a valid date');
        }
    }