could::getEndDatePlan

  1. Bitrix24 API (v. 23.675.0)
  2. tasks
  3. could
  4. getEndDatePlan
  • Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/processor/task/scheduler/result/impact.php
  • Класс: BitrixTasksProcessorTaskSchedulerResultcould
  • Вызов: could::getEndDatePlan
public function getEndDatePlan()
{
	if (is_string($this->data['END_DATE_PLAN'] ?? null) && !empty($this->data['END_DATE_PLAN']))
	{
		return DateTime::createFromUserTime($this->data['END_DATE_PLAN']);
	}

	if (($this->data['END_DATE_PLAN'] ?? null) instanceof DateTime)
	{
		return clone $this->data['END_DATE_PLAN'];
	}

	return null;
}

Добавить комментарий