public function dateRange(string $format = Date::DISPLAY_FORMAT) : FieldBuilderBase
    {
        return $this->field->type(new DateRangeType($format));
    }
public function dateRange(string $format = Date::DISPLAY_FORMAT) : FieldBuilderBase
    {
        return $this->field->type(new DateRangeType($format));
    }
public function dateRange ( string $ format = Date :: DISPLAY_FORMAT ) : FieldBuilderBase { return $ this -> field -> type ( new DateRangeType ( $ format ) ) ; }
Validates the input as a date range and converts
it to an instance of DateRange.

@see \Dms\Common\Structure\DateTime\DateRange

@param string $format

@return FieldBuilderBase
Validates the input as a date range and converts it to an instance of DateRange .