[This is preliminary documentation and is subject to change.]
Gets the start date of the payroll cycle
Namespace:
OfficeClip.BusinessLayerAssembly: OfficeClip.BusinessLayer (in OfficeClip.BusinessLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public static DateTime GetStartDate( DateTime selDate, DayOfWeek weekStartDay, DateTime payrollStartDate, BusinessConstants..::.TimesheetPeriod tp ) |
Visual Basic (Declaration) |
---|
Public Shared Function GetStartDate ( _ selDate As DateTime, _ weekStartDay As DayOfWeek, _ payrollStartDate As DateTime, _ tp As BusinessConstants..::.TimesheetPeriod _ ) As DateTime |
Visual C++ |
---|
public: static DateTime GetStartDate( DateTime selDate, DayOfWeek weekStartDay, DateTime payrollStartDate, BusinessConstants..::.TimesheetPeriod tp ) |
Parameters
- selDate
- Type: System..::.DateTime
The selected date from where the start date has to be determined
- weekStartDay
- Type: System..::.DayOfWeek
The week start date for weekly and biweekly time and expenses
- payrollStartDate
- Type: System..::.DateTime
The start date of the payroll
- tp
- Type: OfficeClip.BusinessLayer..::.BusinessConstants..::.TimesheetPeriod
The timesheet period: weekly, biweekly, semimonthly and semimonthly