@@ -10,8 +10,8 @@ |
||
| 10 | 10 | { |
| 11 | 11 | $this->description = 'Tweede Kerstdag'; |
| 12 | 12 | |
| 13 | - $this->startDate = \DateTime::createFromFormat('Y-m-d', $this->year . '-12-26'); |
|
| 14 | - $this->endDate = \DateTime::createFromFormat('Y-m-d', $this->year . '-12-26'); |
|
| 13 | + $this->startDate = \DateTime::createFromFormat('Y-m-d', $this->year.'-12-26'); |
|
| 14 | + $this->endDate = \DateTime::createFromFormat('Y-m-d', $this->year.'-12-26'); |
|
| 15 | 15 | $this->totalLength = 1; |
| 16 | 16 | } |
| 17 | 17 | } |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | } else if ($this->year >= 2005 && $this->year < 2009) { |
| 16 | 16 | $this->setupDateTimeObjects($this->generateDateTime($this->year, 6, 29)); |
| 17 | 17 | } else if ($this->year >= 2009) { |
| 18 | - $timestamp = strtotime('last saturday', mktime(0, 0, 0, 6, 0, $this->year)); |
|
| 18 | + $timestamp = strtotime('last saturday', mktime(0, 0, 0, 6, 0, $this->year)); |
|
| 19 | 19 | $date = new \DateTime(); |
| 20 | 20 | $date->setTimestamp($timestamp); |
| 21 | 21 | |
@@ -9,8 +9,8 @@ |
||
| 9 | 9 | protected function generate() |
| 10 | 10 | { |
| 11 | 11 | $this->description = 'Kerstavond'; |
| 12 | - $this->startDate = \DateTime::createFromFormat('Y-m-d', $this->year . '-12-24'); |
|
| 13 | - $this->endDate = \DateTime::createFromFormat('Y-m-d', $this->year . '-12-24'); |
|
| 12 | + $this->startDate = \DateTime::createFromFormat('Y-m-d', $this->year.'-12-24'); |
|
| 13 | + $this->endDate = \DateTime::createFromFormat('Y-m-d', $this->year.'-12-24'); |
|
| 14 | 14 | $this->totalLength = 1; |
| 15 | 15 | } |
| 16 | 16 | } |
@@ -10,8 +10,8 @@ |
||
| 10 | 10 | { |
| 11 | 11 | $this->description = 'Eerste Kerstdag'; |
| 12 | 12 | |
| 13 | - $this->startDate = \DateTime::createFromFormat('Y-m-d', $this->year . '-12-25'); |
|
| 14 | - $this->endDate = \DateTime::createFromFormat('Y-m-d', $this->year . '-12-25'); |
|
| 13 | + $this->startDate = \DateTime::createFromFormat('Y-m-d', $this->year.'-12-25'); |
|
| 14 | + $this->endDate = \DateTime::createFromFormat('Y-m-d', $this->year.'-12-25'); |
|
| 15 | 15 | $this->totalLength = 1; |
| 16 | 16 | } |
| 17 | 17 | } |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | $this->description = 'Roze Zaterdag'; |
| 12 | 12 | |
| 13 | 13 | if ($this->year >= 1977) { |
| 14 | - $timestamp = strtotime('fourth saturday', mktime(0, 0, 0, 6, 0, $this->year)); |
|
| 14 | + $timestamp = strtotime('fourth saturday', mktime(0, 0, 0, 6, 0, $this->year)); |
|
| 15 | 15 | $date = new \DateTime(); |
| 16 | 16 | $date->setTimestamp($timestamp); |
| 17 | 17 | |
@@ -10,8 +10,8 @@ |
||
| 10 | 10 | { |
| 11 | 11 | $this->description = 'Nieuwjaarsdag'; |
| 12 | 12 | |
| 13 | - $this->startDate = \DateTime::createFromFormat('Y-m-d', $this->year . '-1-1'); |
|
| 14 | - $this->endDate = \DateTime::createFromFormat('Y-m-d', $this->year . '-1-1'); |
|
| 13 | + $this->startDate = \DateTime::createFromFormat('Y-m-d', $this->year.'-1-1'); |
|
| 14 | + $this->endDate = \DateTime::createFromFormat('Y-m-d', $this->year.'-1-1'); |
|
| 15 | 15 | $this->totalLength = 1; |
| 16 | 16 | } |
| 17 | 17 | } |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | } else if ($this->year >= 2011) { |
| 16 | 16 | $this->setupDateTimeObjects($this->generateDateTime($this->year, 5, 28)); |
| 17 | 17 | } else if ($this->year >= 2009) { |
| 18 | - $timestamp = strtotime('first saturday', mktime(0, 0, 0, 6, 0, $this->year)); |
|
| 18 | + $timestamp = strtotime('first saturday', mktime(0, 0, 0, 6, 0, $this->year)); |
|
| 19 | 19 | $date = new \DateTime(); |
| 20 | 20 | $date->setTimestamp($timestamp); |
| 21 | 21 | |
@@ -10,8 +10,8 @@ |
||
| 10 | 10 | { |
| 11 | 11 | $this->description = 'Oudjaarsdag'; |
| 12 | 12 | |
| 13 | - $this->startDate = \DateTime::createFromFormat('Y-m-d', $this->year . '-12-31'); |
|
| 14 | - $this->endDate = \DateTime::createFromFormat('Y-m-d', $this->year . '-12-31'); |
|
| 13 | + $this->startDate = \DateTime::createFromFormat('Y-m-d', $this->year.'-12-31'); |
|
| 14 | + $this->endDate = \DateTime::createFromFormat('Y-m-d', $this->year.'-12-31'); |
|
| 15 | 15 | $this->totalLength = 1; |
| 16 | 16 | } |
| 17 | 17 | } |
@@ -12,11 +12,11 @@ |
||
| 12 | 12 | |
| 13 | 13 | if ($this->year >= 2002) { |
| 14 | 14 | if ($this->year % 4 === 0) { |
| 15 | - $this->startDate = new \DateTime($this->year . '-09-12'); |
|
| 16 | - $this->endDate = new \DateTime($this->year . '-09-12'); |
|
| 15 | + $this->startDate = new \DateTime($this->year.'-09-12'); |
|
| 16 | + $this->endDate = new \DateTime($this->year.'-09-12'); |
|
| 17 | 17 | } else { |
| 18 | - $this->startDate = new \DateTime($this->year . '-09-13'); |
|
| 19 | - $this->endDate = new \DateTime($this->year . '-09-13'); |
|
| 18 | + $this->startDate = new \DateTime($this->year.'-09-13'); |
|
| 19 | + $this->endDate = new \DateTime($this->year.'-09-13'); |
|
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | $this->totalLength = 1; |