コード例 #1
0
 /**
  * @param null|string $id
  * @param Date $startDate
  * @param Date $endDate
  * @param int $resourceId
  */
 public function __construct($id, Date $startDate, Date $endDate, $resourceId = 1)
 {
     parent::__construct();
     $this->ReservationId = $id;
     $this->StartDate = $startDate;
     $this->EndDate = $endDate;
     $this->ResourceId = $resourceId;
     $this->Date = new DateRange($startDate, $endDate);
     $this->RepeatType = RepeatType::None;
 }