[]
        
(Showing Draft Content)

C1.Schedule.DayCollection.GetFirstWeekDay

GetFirstWeekDay Method

GetFirstWeekDay(DateTime)

Returns the first day of week, containing specified date.

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

The DateTime value.

Returns
Type Description
DateTime

The DateTime value of the week start day.

Remarks

If the specified date hasn't been added to this collection yet, this method call will add it.