FlowWright.cDevDeAPI Namespace
FlowWright.cDevDecisionEngine Namespace

clsModGlobal..::..computeEndDateTime Method

Computes the end date time.

Namespace:  FlowWright.cDevDeAPI
Assembly:  cDevDeAPI (in cDevDeAPI.dll)

Syntax


public static DateTime computeEndDateTime(
	DateTime oStartDateTime,
	int duration,
	string incrementType,
	bool includeWeekends,
	string sTimezone
)
Public Shared Function computeEndDateTime ( _
	oStartDateTime As DateTime, _
	duration As Integer, _
	incrementType As String, _
	includeWeekends As Boolean, _
	sTimezone As String _
) As DateTime
public:
static DateTime^ computeEndDateTime(
	DateTime^ oStartDateTime, 
	int^ duration, 
	String^ incrementType, 
	bool^ includeWeekends, 
	String^ sTimezone
)

Parameters

oStartDateTime
Type: DateTime
The o start date time.
duration
Type: Int32
The duration.
incrementType
Type: String
Type of the increment.
includeWeekends
Type: Boolean
if set to true [include weekends].
sTimezone
Type: String
The s timezone.

Return Value

DateTime.