[This is preliminary documentation and is subject to change.]
Returns the weekly start dates in a DataTable.
Namespace:
OfficeClip.BusinessLayerAssembly: OfficeClip.BusinessLayer (in OfficeClip.BusinessLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public static DataTable GetWeekStartDates( DateTime selDate, DayOfWeek weekStartDay, DateTime payrollStartDate, int numPeriodForward, int numPeriodBackward ) |
Visual Basic (Declaration) |
---|
Public Shared Function GetWeekStartDates ( _ selDate As DateTime, _ weekStartDay As DayOfWeek, _ payrollStartDate As DateTime, _ numPeriodForward As Integer, _ numPeriodBackward As Integer _ ) As DataTable |
Visual C++ |
---|
public: static DataTable^ GetWeekStartDates( DateTime selDate, DayOfWeek weekStartDay, DateTime payrollStartDate, int numPeriodForward, int numPeriodBackward ) |
Parameters
- selDate
- Type: System..::.DateTime
The date in question
- weekStartDay
- Type: System..::.DayOfWeek
The day that is assigned to be the start day of the week
- payrollStartDate
- Type: System..::.DateTime
The date when the payroll starts
- numPeriodForward
- Type: System..::.Int32
- numPeriodBackward
- Type: System..::.Int32