[]
        
(Showing Draft Content)

C1.Schedule.DayCollection.GetLastWeekDay

GetLastWeekDay Method

GetLastWeekDay(DateTime)

Returns the last day of week, containing specified date.

Declaration
public DateTime GetLastWeekDay(DateTime day)
Parameters
Type Name Description
DateTime day

The DateTime value.

Returns
Type Description
DateTime

The 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.