_propDict)) { if (is_a($this->_propDict["dueDateTime"], "\DateTime") || is_null($this->_propDict["dueDateTime"])) { return $this->_propDict["dueDateTime"]; } else { $this->_propDict["dueDateTime"] = new \DateTime($this->_propDict["dueDateTime"]); return $this->_propDict["dueDateTime"]; } } return null; } /** * Sets the dueDateTime * The due date and time for the task. Nullable. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @param \DateTime $val The value to assign to the dueDateTime * * @return WorkbookDocumentTaskSchedule The WorkbookDocumentTaskSchedule */ public function setDueDateTime($val) { $this->_propDict["dueDateTime"] = $val; return $this; } /** * Gets the startDateTime * The start date and time for the task. Nullable. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @return \DateTime|null The startDateTime */ public function getStartDateTime() { if (array_key_exists("startDateTime", $this->_propDict)) { if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { return $this->_propDict["startDateTime"]; } else { $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); return $this->_propDict["startDateTime"]; } } return null; } /** * Sets the startDateTime * The start date and time for the task. Nullable. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @param \DateTime $val The value to assign to the startDateTime * * @return WorkbookDocumentTaskSchedule The WorkbookDocumentTaskSchedule */ public function setStartDateTime($val) { $this->_propDict["startDateTime"] = $val; return $this; } }