Backend\Modules\Analytics\DateRange\DateRange::__construct PHP Method

__construct() public method

Sets the initial dates for the range
public __construct ( )
    public function __construct()
    {
        $this->startDate = strtotime('-1 week', mktime(0, 0, 0));
        $this->endDate = mktime(0, 0, 0);
    }