[This is preliminary documentation and is subject to change.]

Get the range of biweekly start dates for timesheet and expense reports

Namespace:  OfficeClip.BusinessLayer
Assembly:  OfficeClip.BusinessLayer (in OfficeClip.BusinessLayer)
Version: 8.1.1.0

Syntax

C#
protected static DataTable GetBiweekStartDates(
	DateTime selDate,
	DayOfWeek weekStartDay,
	DateTime payrollStartDate,
	int numPeriodForward,
	int numPeriodBackward
)
Visual Basic (Declaration)
Protected Shared Function GetBiweekStartDates ( _
	selDate As DateTime, _
	weekStartDay As DayOfWeek, _
	payrollStartDate As DateTime, _
	numPeriodForward As Integer, _
	numPeriodBackward As Integer _
) As DataTable
Visual C++
protected:
static DataTable^ GetBiweekStartDates(
	DateTime selDate, 
	DayOfWeek weekStartDay, 
	DateTime payrollStartDate, 
	int numPeriodForward, 
	int numPeriodBackward
)

Parameters

selDate
Type: System..::.DateTime
The date in question
weekStartDay
Type: System..::.DayOfWeek
The starting date of the week
payrollStartDate
Type: System..::.DateTime
The payroll start date
numPeriodForward
Type: System..::.Int32
numPeriodBackward
Type: System..::.Int32

Return Value

The datatable containing all the requested dates

See Also