1 | <?php |
||
7 | trait DiffTrait |
||
8 | { |
||
9 | private function diffInSeconds(string $stateCheckMethod, string $nextDateMethod, string $skipDateMethod, DateTimeInterface $startDate, DateTimeInterface $endDate): float |
||
32 | |||
33 | public function diffInOpenSeconds(DateTimeInterface $startDate, DateTimeInterface $endDate): float |
||
37 | |||
38 | public function diffInOpenMinutes(DateTimeInterface $startDate, DateTimeInterface $endDate): float |
||
42 | |||
43 | public function diffInOpenHours(DateTimeInterface $startDate, DateTimeInterface $endDate): float |
||
47 | |||
48 | public function diffInClosedSeconds(DateTimeInterface $startDate, DateTimeInterface $endDate): float |
||
52 | |||
53 | public function diffInClosedMinutes(DateTimeInterface $startDate, DateTimeInterface $endDate): float |
||
57 | |||
58 | public function diffInClosedHours(DateTimeInterface $startDate, DateTimeInterface $endDate): float |
||
62 | } |
||
63 |