ObservedDateRangePolicy Enum
Definition
- Namespace
- Bodu.Globalization.Calendar.RangeResolution
- Assembly
- Bodu.Globalization.Calendar.dll
- Package
- Bodu.Globalization.Calendar 1.0.1
Determines which emitted occurrence controls whether a resolved notable date is included by a date-range query.
public enum ObservedDateRangePolicy
- Extension Methods
Fields
ObservedOccurrenceControlsInclusion = 0The emitted (observed) occurrence date controls inclusion.
ActualOccurrenceControlsInclusion = 1The originally calculated (actual) occurrence date controls inclusion.
BothOccurrencesControlInclusion = 2Either the actual or the observed occurrence date controls inclusion.
Remarks
The recommended default is ObservedOccurrenceControlsInclusion, which guarantees that a single-day query and a range query return consistent results: an occurrence is included when its emitted (observed) date falls inside the requested window.
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |