EventBuilderFromGetList::getEnd

  1. Bitrix24 API (v. 23.675.0)
  2. calendar
  3. EventBuilderFromGetList
  4. getEnd
  • Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/core/builders/eventbuilderfromgetlist.php
  • Класс: BitrixCalendarCoreBuildersEventBuilderFromGetList
  • Вызов: EventBuilderFromGetList::getEnd
protected function getEnd(): Date
{
	return new Date(
		Util::getDateObject((is_object($this->fields['DATE_TO'])
			? $this->fields['DATE_TO']->format('d.m.y H:i:s')
			: $this->fields['DATE_TO']),
		$this->fields['DT_SKIP_TIME'] === 'Y',
		$this->fields['TZ_TO'] ?? null)
	);
}

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