DateRangeContains(IRangeDateTimeOffset) Method
Returns true if the given range is contained within
this range.
A range contains another range when the second range is entirely within
the first range. Adjacent ranges never contain each other, regardless of their
IsLowerInclusive or
IsUpperInclusive values.
| Range A | Range B | A.Contains(B)? |
|---|
| ABCDEF | 0ABCDE | false |
| ABCDEF | BCDE | true |
| ABCDEF | ABCDE | true |
| ABCDEF | BCDEF | true |
| ABCDEF | ABCDEF | true |
| ABCDEF | FGHIJ | false |