1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
scheduleinterface.php
См. документацию.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
Bitrix\Socialnetwork\Integration\Calendar\ClosestWorkDate\Schedule;
6
7
use Bitrix\Main\Type\DateTime;
8
9
interface
ScheduleInterface
10
{
11
public
function
getShiftStart
(?
DateTime
$date =
null
):
DateTime
;
12
13
public
function
getShiftEnd
(?
DateTime
$date =
null
):
DateTime
;
14
15
public
function
getWorkDayDuration
(?
DateTime
$date =
null
): int;
16
17
public
function
isWorkTime
(
DateTime
$date): bool;
18
19
public
function
isWeekend
(
DateTime
$date): bool;
20
}
Bitrix\Main\Type\DateTime
Определения
datetime.php:9
Bitrix\Socialnetwork\Integration\Calendar\ClosestWorkDate\Schedule\ScheduleInterface
Определения
scheduleinterface.php:10
Bitrix\Socialnetwork\Integration\Calendar\ClosestWorkDate\Schedule\ScheduleInterface\isWeekend
isWeekend(DateTime $date)
Bitrix\Socialnetwork\Integration\Calendar\ClosestWorkDate\Schedule\ScheduleInterface\getWorkDayDuration
getWorkDayDuration(?DateTime $date=null)
Bitrix\Socialnetwork\Integration\Calendar\ClosestWorkDate\Schedule\ScheduleInterface\getShiftStart
getShiftStart(?DateTime $date=null)
Bitrix\Socialnetwork\Integration\Calendar\ClosestWorkDate\Schedule\ScheduleInterface\getShiftEnd
getShiftEnd(?DateTime $date=null)
Bitrix\Socialnetwork\Integration\Calendar\ClosestWorkDate\Schedule\ScheduleInterface\isWorkTime
isWorkTime(DateTime $date)
bitrix
modules
socialnetwork
lib
integration
calendar
closestworkdate
schedule
scheduleinterface.php
Создано системой
1.14.0