[]
        
(Showing Draft Content)

C1.Schedule.CalendarInfo.IsWorkingInterval

IsWorkingInterval Method

IsWorkingInterval(DateTime, DateTime)

Returns true if specified time interval is a working time.

Declaration
public bool IsWorkingInterval(DateTime start, DateTime end)
Parameters
Type Name Description
DateTime start

The DateTime value specifying the interval start time.

DateTime end

The DateTime value specifying the interval end time.

Returns
Type Description
bool

True if specified date is not weekend or holiday; false - otherwise.

Remarks

It doesn't check for working days.