Scheduler for WPF | ComponentOne
C1.Schedule Namespace / DayCollection Class / GetLastWeekDay Method
The System.DateTime value.

In This Topic
    GetLastWeekDay Method
    In This Topic
    Returns the last day of week, containing specified date.
    Syntax
    'Declaration
     
    
    Public Function GetLastWeekDay( _
       ByVal day As Date _
    ) As Date
    public DateTime GetLastWeekDay( 
       DateTime day
    )

    Parameters

    day
    The System.DateTime value.

    Return Value

    The System.DateTime value of the week end day.
    Remarks
    If the specified date hasn't been added to this collection yet, this method call will add it.
    See Also