Scheduler for WPF | ComponentOne
C1.Schedule Namespace / CalendarInfo Class / IsWorkingInterval Method
The System.DateTime value specifying the interval start time.
The System.DateTime value specifying the interval end time.

In This Topic
    IsWorkingInterval Method
    In This Topic
    Returns true if specified time interval is a working time.
    Syntax
    'Declaration
     
    
    Public Function IsWorkingInterval( _
       ByVal start As Date, _
       ByVal end As Date _
    ) As Boolean
    public bool IsWorkingInterval( 
       DateTime start,
       DateTime end
    )

    Parameters

    start
    The System.DateTime value specifying the interval start time.
    end
    The System.DateTime value specifying the interval end time.

    Return Value

    True if specified date is not weekend or holiday; false - otherwise.
    Remarks
    It doesn't check for working days.
    See Also