public function getField(string $name) : string
    {
        $value = $this->getOptionalField($name);

        if ($value === '') {
            throw new DateTimeParseException(\sprintf('Field %s is not present in the parsed result.', $name));
        }

        return $value;
    }