| @@ 118-124 (lines=7) @@ | ||
| 115 | ||
| 116 | private function addPaddingDays() |
|
| 117 | { |
|
| 118 | if ($this->startDate->format('w') !== $this->config->getWeeksStartsOn()) { |
|
| 119 | $this->startDate->setISODate( |
|
| 120 | (int) $this->startDate->format('o'), |
|
| 121 | (int) $this->startDate->format('W'), |
|
| 122 | (int) $this->config->getWeeksStartsOn()->getValue() |
|
| 123 | ); |
|
| 124 | } |
|
| 125 | ||
| 126 | if ($this->endDate->format('w') !== $this->config->getWeeksEndsOn()) { |
|
| 127 | $this->endDate->setISODate( |
|
| @@ 126-132 (lines=7) @@ | ||
| 123 | ); |
|
| 124 | } |
|
| 125 | ||
| 126 | if ($this->endDate->format('w') !== $this->config->getWeeksEndsOn()) { |
|
| 127 | $this->endDate->setISODate( |
|
| 128 | (int) $this->endDate->format('o'), |
|
| 129 | (int) $this->endDate->format('W'), |
|
| 130 | (int) $this->config->getWeeksEndsOn()->getValue() |
|
| 131 | ); |
|
| 132 | } |
|
| 133 | } |
|
| 134 | ||
| 135 | /** |
|