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

Gets the multiple periods for the start dates of the timesheet and expense report

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

Syntax

C#
public static DataTable GetPeriodStartDates(
	BusinessConstants..::.TimesheetPeriod tp,
	DateTime selDate,
	DayOfWeek weekStartDay,
	DateTime payrollStartDate,
	int numPeriodForward,
	int numPeriodBackward
)
Visual Basic (Declaration)
Public Shared Function GetPeriodStartDates ( _
	tp As BusinessConstants..::.TimesheetPeriod, _
	selDate As DateTime, _
	weekStartDay As DayOfWeek, _
	payrollStartDate As DateTime, _
	numPeriodForward As Integer, _
	numPeriodBackward As Integer _
) As DataTable
Visual C++
public:
static DataTable^ GetPeriodStartDates(
	BusinessConstants..::.TimesheetPeriod tp, 
	DateTime selDate, 
	DayOfWeek weekStartDay, 
	DateTime payrollStartDate, 
	int numPeriodForward, 
	int numPeriodBackward
)

Parameters

tp
Type: OfficeClip.BusinessLayer..::.BusinessConstants..::.TimesheetPeriod
The timesheet period (weekly, biweekly, semimonthly or monthly
selDate
Type: System..::.DateTime
The selected date in question
weekStartDay
Type: System..::.DayOfWeek
The week start day
payrollStartDate
Type: System..::.DateTime
The payroll start date
numPeriodForward
Type: System..::.Int32
Number of period forward from the current date that should be returned
numPeriodBackward
Type: System..::.Int32
Number of period backward from the current date that should be returned

Return Value

The datatable corresponding to the dates

See Also