DayRangeIntersection Method |
Returns a DayRange covering the days that are contained
within both this DayRange and the specified
DayRange, or null if there is no such
intersection.
Namespace: DegreeDays.TimeAssembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax public DayRange? Intersection(
DayRange intersectWith
)
Public Function Intersection (
intersectWith As DayRange
) As DayRange?
Parameters
- intersectWith DayRange
- The other DayRange that the
intersection should be calculated from (together with this
DayRange).
Return Value
NullableDayRangeA
DayRange covering the days that are contained
within both this
DayRange and the specified
DayRange, or
null if there is no such
intersection.
Remarks
By definition, a.Intersection(b) will always give the
same result as b.Intersection(a).
See Also