DateRangeCollectionMask(DateRangeCollection, DateRangeCollection) 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,
	DateRangeCollection mask
)

Parameters

reference  DateRangeCollection
Reference collection containing valid Date Ranges.
mask  DateRangeCollection
Mask collection containing Date Ranges 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