Resets the date to the first day of the decade and the time to 00:00:00

@return static
968957
public function startOfDecade()
        {
            return $this->startOfYear()->year($this->year - $this->year % self::YEARS_PER_DECADE);
        }
698786
public function toMinutes()
        {
            $time = $this->get();
            if (!$time) {
                $time = '00:00';
            } else {
                $time = sprintf('%02d:%02d', (int)(floor($time / 60)), (int)($time % 60));
            }
            return $this;
        }
1120500
private function reset()
    {
        $this->uid = null;
        $this->title = null;
        $this->altTitle = null;
        $this->redirect = null;
        $this->target = null;
        $this->url = null;
        $this->site = null;
        $this->root = null;
        $this->parent = null;
        $this->layout = null;
        $this->elements = array();
        $this->itemToPushInMainZone = null;
        $this->createdAt = null;
        $this->publishedAt = null;
        $this->archiving = null;
        $this->state = null;
        $this->persist = null;
        $this->isSection = false;

        return $this;
    }
751366
public function initDatetime()
    {
        if ($this->timeFormat === static::$timeFormatDatetime) {
            return static::$initDatetime;
        }
        if ($this->timeFormat === static::$timeFormatTimestamp) {
            return static::$initTimestamp;
        }
        return null;
    }
533721
private function reset()
    {
        $this->output = '';
        $this->seconds = 0.0;
        $this->minutes = 0;
        $this->hours = 0;
        $this->days = 0;
    }
1019107
public function reset()
    {
        $this->table = '';
        $this->columns = [];
        $this->joins = [];
        $this->wheres = [];
        $this->whereIn = [];
        $this->groupBy = false;
        $this->orderBy = false;
        $this->offset = 0;
        $this->limit = 10;
        $this->fields = [];
        return $this;
    }
45794
public function startDatetime()
    {
        $date = explode('-', $this->start_date);
        $time = explode(':', $this->start_time);
        $start_datetime = Carbon::create($date[0], $date[1], $date[2], $time[0], $time[1]);

        return $start_datetime;
    }
85834
public function clear()
    {
        $expiry = $this->values['_expiry'] ?? null;
        parent::clear();
        $this->set('_changed', true);
        $this->set('_timestamp', time());
        if ($expiry)
            $this->setExpiry($expiry);
        return $this;
    }
1100204
function Copy()
     {
         return new Date($this->Day(), $this->Month(), $this->Year(),
                         $this->Hour(), $this->Minute(), $this->Second());
     }
938011
public function reset()
    {
        $this->class    = null;
        $this->with     = [];
        $this->flags    = [];
        $this->columns  = [];
        $this->from     = [];
        $this->join     = [];
        $this->where    = [];
        $this->groupBy  = [];
        $this->having   = [];
        $this->orderBy  = [];
        $this->limit    = null;
        $this->offset   = null;
        $this->bindings = [
            'select' => [],
            'from'   => [],
            'join'   => [],
            'where'  => [],
            'group'  => [],
            'having' => [],
            'order'  => [],
        ];

        return $this;
    }
1033935
public function startOfQuarter()
    {
        $month = ($this->quarter - 1) * static::MONTHS_PER_QUARTER + 1;

        return $this->setDate($this->year, $month, 1)->startOfDay();
    }
906322
public function daily()
    {
        $this->setScheduleMinute(0);
        $this->setScheduleHour(0);
        $this->setScheduleDayOfMonth(self::ANY);
        $this->setScheduleMonth(self::ANY);
        $this->setScheduleDayOfWeek(self::ANY);

        return $this;
    }
714019
public function reset()
	{
		$this->_table = NULL;

		$this->_where    = array();
		$this->_order_by = array();

		$this->_parameters = array();

		$this->_limit = NULL;

		return $this;
	}
898135
public function getStartDate() {
        $now = $this->getNow();
        $endOfDay = $this->getToday()->modify('+18 hours');

        $currentDay = $this->getToday();

        if($now > $endOfDay) {
            $currentDay->modify('+1 day');
        }

        return $currentDay;
    }
650629
public function getPrevious()
    {
        $start = clone $this->begin;
        $start->sub(static::getDateInterval());

        return new static($start, $this->factory);
    }
871351
public function reset()
	{
		$this->_select   = array();
		$this->_from     = array();
		$this->_join     = array();
		$this->_where    = array();
		$this->_group_by = array();
		$this->_having   = array();
		$this->_order_by = array();
		$this->_distinct = false;
		$this->_limit     = null;
		$this->_offset    = null;
		$this->_last_join = null;
		$this->_parameters = array();

		return $this;
	}
130296
public function Reset() {
      // Check the _NoReset flag.
      switch($this->_NoReset) {
         case 1:
            $this->_NoReset = 0;
            return;
         case 2:
            return;
      }
      $this->_Selects         = array();
      $this->_Froms           = array();
      $this->_Joins           = array();
      $this->_Wheres          = array();
      $this->_WhereConcat     = 'and';
      $this->_WhereConcatDefault = 'and';
      $this->_WhereGroupCount = 0;
      $this->_OpenWhereGroupCount = 0;
      $this->_GroupBys        = array();
      $this->_Havings         = array();
      $this->_OrderBys        = array();
      $this->_AliasMap        = array();
      
      $this->_CacheKey        = NULL;
      $this->_CacheOperation  = NULL;
      $this->_CacheOptions    = NULL;
      $this->_Distinct        = FALSE;
      $this->_Limit           = FALSE;
      $this->_Offset          = FALSE;
      $this->_Order           = FALSE;
      
      $this->_Sets            = array();
      $this->_NamedParameters = array();
      $this->_Options         = array();
      
      return $this;
   }