Exemplo n.º 1
0
 function testWrapsMidnightDoesNotOverlapMorning()
 {
     $a = new Availability(array('uid' => 123, 'availability_type' => Availability::AVAILABLE, 'start_time' => 1308865500, 'end_time' => 1308897900));
     $this->assertFalse($a->isOverlappingRange('07:45', '08:45'));
 }