Exemplo n.º 1
0
 /**
  * @covers ::toDateTimeSpan
  * @dataProvider dataToDateTimeSpan
  */
 public function testToDateTime($from, $to, $start, $result)
 {
     $span = new DaysSpan($from, $to);
     $this->assertEquals($result, $span->toDateTimeSpan($start));
 }
Exemplo n.º 2
0
 public function __construct(WeekDays $from, WeekDays $to)
 {
     parent::__construct($from, $to);
 }
Exemplo n.º 3
0
 /**
  * @param BusinessDays $from
  * @param BusinessDays $to
  */
 public function __construct(BusinessDays $from, BusinessDays $to)
 {
     parent::__construct($from, $to);
 }