DateRangeItemMask Method

Return the logical result of a Date Range that has had some time masked out.

Definition

Namespace: ProjectTask
Assembly: ProjectTask (in ProjectTask.dll) Version: 25.2814.3647
C#
public static DateRangeItem[] Mask(
	DateRangeItem date,
	DateRangeItem mask
)

Parameters

date  DateRangeItem
The Date Range for which part or all of the area will be masked out.
mask  DateRangeItem
Date Range initialized as a working mask, or black space.

Return Value

DateRangeItem
If the two Date Ranges had at least some time not in common, then the specified time not occurring within the mask, specified as a new Date Range array with possibly one or two sides. Otherwise, zero length array.

See Also