DateRangeItemAnd Method

Return the logical AND result of the two specified Date Ranges.

Definition

Namespace: ProjectTask
Assembly: ProjectTask (in ProjectTask.dll) Version: 25.2814.3647
C#
public static DateRangeItem And(
	DateRangeItem date1,
	DateRangeItem date2
)

Parameters

date1  DateRangeItem
First operand.
date2  DateRangeItem
Second operand.

Return Value

DateRangeItem
If the two Date Ranges had at least some time in common, then the mutually specified time between them, specified as a new Date Range object. Otherwise, null.

See Also