DateRangeCollectionMask(DateRangeCollection, DateRangeItem) Method

Mask off Date Ranges in the caller's Reference Collection, using intersecting Dates and Times found in the Mask Collection.

Definition

Namespace: ProjectTask
Assembly: ProjectTask (in ProjectTask.dll) Version: 25.2814.3647
C#
public static DateRangeCollection Mask(
	DateRangeCollection reference,
	DateRangeItem mask
)

Parameters

reference  DateRangeCollection
Reference collection containing valid Date Ranges.
mask  DateRangeItem
Mask containing a Date Range to mask out of the reference collection.

Return Value

DateRangeCollection
New Date Range collection containing reference Ranges with mask applied.

Remarks

If Both Date Ranges include a Tag value, then the tag from reference collection is placed in the resulting entry.

See Also