@@ 87-89 (lines=3) @@ | ||
84 | */ |
|
85 | private static function isIntervalAllDay(Time $start, Time $end): bool |
|
86 | { |
|
87 | if ($start->getHours() !== 0 || $start->getMinutes() !== 0 || $start->getSeconds() !== 0) { |
|
88 | return false; |
|
89 | } |
|
90 | ||
91 | if ($end->getHours() !== 24 || $end->getMinutes() !== 0 || $end->getSeconds() !== 0) { |
|
92 | return false; |
|
@@ 91-93 (lines=3) @@ | ||
88 | return false; |
|
89 | } |
|
90 | ||
91 | if ($end->getHours() !== 24 || $end->getMinutes() !== 0 || $end->getSeconds() !== 0) { |
|
92 | return false; |
|
93 | } |
|
94 | ||
95 | return true; |
|
96 | } |