<?php
// CBPCalc :: isWorkTime()
// /dist/bitrix/modules/bizproc/classes/general/calc.php:920
private function isWorkTime($date)
{
$dayTs = $this->getWorkDayTimestamp($date);
list ($startSeconds, $endSeconds) = $this->getCalendarWorkTime();
return ($dayTs >= $startSeconds && $dayTs <= $endSeconds);
}