Table of Contents

ObservedDateRangePolicy Enum

Definition

Namespace
Bodu.Globalization.Calendar.RangeResolution
Assembly
Bodu.Globalization.Calendar.dll
Package
Bodu.Globalization.Calendar 1.0.1
Source
ObservedDateRangePolicy.cs

Determines which emitted occurrence controls whether a resolved notable date is included by a date-range query.

public enum ObservedDateRangePolicy
Extension Methods

Fields

ObservedOccurrenceControlsInclusion = 0

The emitted (observed) occurrence date controls inclusion.

ActualOccurrenceControlsInclusion = 1

The originally calculated (actual) occurrence date controls inclusion.

BothOccurrencesControlInclusion = 2

Either 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

ProductVersions
.NET8, 10

See Also