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