Scheduler for WPF | ComponentOne
C1.Schedule Namespace / CalendarInfo Class / IsWorkingDay Method
The System.DateTime value to check.

In This Topic
    IsWorkingDay Method
    In This Topic
    Returns true if specified date is not weekend or holiday.
    Syntax
    'Declaration
     
    
    Public Function IsWorkingDay( _
       ByVal day As Date _
    ) As Boolean
    public bool IsWorkingDay( 
       DateTime day
    )

    Parameters

    day
    The System.DateTime value to check.

    Return Value

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