@@ -70,6 +70,9 @@ |
||
70 | 70 | return $this->currentAt(new DateTime); |
71 | 71 | } |
72 | 72 | |
73 | + /** |
|
74 | + * @param DateTime $when |
|
75 | + */ |
|
73 | 76 | public function currentAt($when) |
74 | 77 | { |
75 | 78 | return ($when >= $this->startDate && $when <= $this->endDate); |
@@ -119,6 +119,9 @@ |
||
119 | 119 | return $this->currentAt(new DateTime); |
120 | 120 | } |
121 | 121 | |
122 | + /** |
|
123 | + * @param DateTime $when |
|
124 | + */ |
|
122 | 125 | public function currentAt($when) |
123 | 126 | { |
124 | 127 | return ($when >= $this->startDate && $when <= $this->endDate); |