Bitrix API

WorkTimeServiceDecorator extends WorkTimeService

Table of Contents

Constants

WORK_TIME_OPTION  = 'MATCH_WORK_TIME'

Methods

__construct()  : mixed
getClosestWorkTime()  : DateTime
isHoliday()  : bool
isWorkTime()  : bool

Constants

Methods

isHoliday()

public isHoliday(int $timestamp) : bool
Parameters
$timestamp : int
Return values
bool

isWorkTime()

public isWorkTime(int $timestamp) : bool
Parameters
$timestamp : int
Return values
bool

        
On this page

Search results