@param string $end
@param string|null $field

@return \PSolr\Request\Facet

@see http://wiki.apache.org/solr/SimpleFacetParameters#facet.date.end
@see http://lucene.apache.org/solr/4_0_0/solr-core/org/apache/solr/util/DateMathParser.html
546689
public function setDateEnd($end, $field = null)
    {
        $param = $this->buildParam('facet.date.end', $field);
        return $this->set($param, $end);
    }
4829
public static function getMonthsAgo($ago, $endDateTime = null)
    {
        return static::getDateTimeRange(
            Carbon::now()->subMonths($ago)->startOfMonth(),
            $endDateTime ?: Carbon::now()->subMonths($ago)->endOfMonth()
        );
    }
662809
public function type($field)
    {
        if (!is_array($this->_context['schema'])) {
            return null;
        }

        $schema = Hash::get($this->_context['schema'], $field);
        if ($schema === null) {
            $schema = Hash::get($this->_context['schema'], $this->stripNesting($field));
        }

        return isset($schema['type']) ? $schema['type'] : null;
    }
433458
public TimerType<T> end(java.util.Date end)
   {
      if (end != null)
      {
         childNode.getOrCreate("end").text(XMLDate.toXMLFormat(end));
         return this;
      }
      return null;
   }
664179
public function fieldQuery($field)
    {
        $query = $this->dsql()->del('fields');
        if (is_string($field)) {
            $field = $this->getElement($field);
        }
        $field->updateSelectQuery($query);

        return $query;
    }
472901
public function offsetGet($field) {
        if (isset($this->values[$field]) || $this->load($field)) {
            return $this->values[$field];
        }

        return NULL;
    }
366281
public function between($field, $start, $end) {
        $this->add($field, Expr::BETWEEN, [$start, $end]);

        return $this;
    }
980064
public function setDateEnd( $date )
	{
		if ( $date == $this->getDateEnd() ) { return; }

		$this->_checkDateFormat($date);

		$this->_values['end'] = ( $date !== null ? (string) $date : null );

		$this->setModified();
	}
713282
public function isNotNull($field)
    {
        return new Expr\ComparisonExpression($field, new Expr\ValueIdentifier(null), Expr\ComparisonExpression::NEQ);
    }
1233793
public function setEnd(DateTime $end)
    {
        // Check the end is not before the start:
        if ($this->start && $end < $this->start) {
            throw new EventException(
                'New end comes after the start!',
                EventException::INVALID_DATES
            );
        }

        $this->end = clone $end;
        return $this;
    }
1289026
private function parseDate(Annotation $annotation, string $field)
    {
        if ($annotation->hasValueByName($field)) {
            return new Date($annotation->getValueByName($field));
        }

        return null;
    }
217382
public function whereEndsWith($field, $value)
    {
        foreach ($this->queries as $query) {
            $query->whereEndsWith($field, $value);
        }

        return $this;
    }
347377
public function setLimit($limit, $field = null)
    {
        $param = $this->buildParam('facet.limit', $field);
        return $this->set($param, $limit);
    }
954771
public function setEndDate(Carbon $endDate)
    {
        $this->validatePeriod(null, $endDate);

        $this->endDate = $endDate;

        return $this;
    }
1142127
protected function get($field)
    {
        $map = $this->_config['fieldMap'];
        if (isset($map[$field])) {
            $field = $map[$field];
        }

        if (isset($this->data[$field])) {
            return $this->data[$field];
        }

        return null;
    }
357162
public function min($field) {
        $this->build()->bindExpression('field', "min({$field}) AS m");
        $data = $this->first();

        return $data ? $data['m'] : '';
    }
896199
public function setDateSend($dateSend = null)
    {
        if (!$dateSend) {
            $this->dateSend = new \DateTime();
        } else {
            $this->dateSend = $dateSend;
        }

        return $this;
    }