Метод clampToStageWindow
Сигнатура метода
private function clampToStageWindow(string $statusTypeId, DateTime $dateTime): DateTime
Возвращает:
DateTime
Описание
Adjusts the calculated deadline date so it always falls into the target stage window and is never in the past. Time of day is preserved.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$statusTypeId
|
string
|
—
|
—
|
$dateTime
|
DateTime
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/kanban/entityactivitydeadline.php
Расположение метода в файле
Строки
121–154