[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.dll)
Version: 7.3.2.0

Syntax

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

Parameters

tp
BusinessConstants..::TimesheetPeriod
The timesheet period (weekly, biweekly, semimonthly or monthly
selDate
DateTime
The selected date in question
weekStartDay
DayOfWeek
The week start day
payrollStartDate
DateTime
The payroll start date

Return Value

The datatable corresponding to the dates

See Also