Scheduler for WinForms | ComponentOne
C1.ScheduleCore Assembly / 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 System.Date _
    ) As System.Boolean
    public System.bool IsWorkingDay( 
       System.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