public function dateTimeRange(string $format = DateTime::DISPLAY_FORMAT) : FieldBuilderBase
    {
        return $this->field->type(new DateTimeRangeType($format));
    }
public function dateTimeRange(string $format = DateTime::DISPLAY_FORMAT) : FieldBuilderBase
    {
        return $this->field->type(new DateTimeRangeType($format));
    }
public function dateTimeRange ( string $ format = DateTime :: DISPLAY_FORMAT ) : FieldBuilderBase { return $ this -> field -> type ( new DateTimeRangeType ( $ format ) ) ; }
Validates the input with the supplied format and
converts the input to a DateTimeRange instance.

@see Dms\Common\Structure\DateTime\DateTimeRange

@param string $format

@return FieldBuilderBase
Validates the input with the supplied format and converts the input to a DateTimeRange instance .