NullableDateRange¶
Date range whose end date may be open-ended (null), used to classify overlap relationships between two such ranges via DateRangeOverlapResult.
Purpose¶
- Date range whose end date may be open-ended (null), used to classify overlap relationships between two such ranges via
DateRangeOverlapResult.
Context¶
- Namespace:
SAIF.Common - Assembly/package:
SAIF.Framework.Common
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| StartDate | public DateTime StartDate { get; set; } |
The inclusive start of the range. |
| EndDate | public DateTime? EndDate { get; set; } |
The inclusive end of the range, or null when the range is open-ended. |
| GetOverlapState(NullableDateRange, NullableDateRange) | public static DateRangeOverlapResult GetOverlapState(NullableDateRange first, NullableDateRange second) |
Classifies how two (possibly open-ended) ranges relate to one another, returning one of the DateRangeOverlapResult directional states. (BR-012) |
Sources¶
Common/SAIF.Common/Classes/NullableDateRange.cs