Gets the first day of a week where day (parameter) belongs. weekStart (parameter) specifies the starting day of week.
Namespace: DayPilot.UtilsAssembly: DayPilot (in DayPilot.dll) Version: 8.1.3443.0 (8.1.3443.0)
Syntax
C# |
---|
public static DateTime FirstDayOfWeek( DateTime day, DayOfWeek weekStarts ) |
Visual Basic |
---|
Public Shared Function FirstDayOfWeek ( _ day As DateTime, _ weekStarts As DayOfWeek _ ) As DateTime |
Visual C++ |
---|
public: static DateTime FirstDayOfWeek( DateTime day, DayOfWeek weekStarts ) |