Esempio 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));
 }
Esempio n. 2
0
 public function __construct(WeekDays $from, WeekDays $to)
 {
     parent::__construct($from, $to);
 }
Esempio n. 3
0
 /**
  * @param BusinessDays $from
  * @param BusinessDays $to
  */
 public function __construct(BusinessDays $from, BusinessDays $to)
 {
     parent::__construct($from, $to);
 }