public function scopeFromCenturiesAgo(Builder $query, $ago, $endDateTime = null) { return $this->scopeFromDateTimeRange(DateTime::getCenturiesAgo($ago, $endDateTime)); }
public function findFromCenturiesAgo($key, $value, $ago, $endDateTime = null) { return $this->findWhereDateTimeBetween($key, $value, 'created_at', DateTime::getCenturiesAgo($ago, $endDateTime)); }
public function fromCenturiesAgo($ago, $endDateTime = null) { return $this->fromDateTimeRange(DateTime::getCenturiesAgo($ago, $endDateTime)); }