| 1 | <?php |
||
| 17 | class EventInterval { |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Return the number of times a duration fits into the start and end date taking into account |
||
| 21 | * BAT's consideration that the end time for a BAT event includes that last minute. |
||
| 22 | * |
||
| 23 | * @param \DateTime $start_date |
||
| 24 | * @param \DateTime $end_date |
||
| 25 | * @param \DateInterval $duration |
||
| 26 | * |
||
| 27 | * @return float |
||
| 28 | */ |
||
| 29 | public static function divide(\DateTime $start_date, \DateTime $end_date, \DateInterval $duration) { |
||
| 44 | |||
| 45 | } |
||
| 46 |