EndDateSelection Enum
Definition
- Namespace
- Bodu.Globalization.Calendar
- Assembly
- Bodu.Globalization.Calendar.dll
- Package
- Bodu.Globalization.Calendar 1.0.1
- Source
- EndDateSelection.cs
Specifies how a calculated end-date anchor is selected relative to the occurrence's start anchor.
public enum EndDateSelection
- Extension Methods
Fields
FirstOnOrAfterStart = 0Selects the earliest end anchor on or after the start anchor.
FirstAfterStart = 1Selects the earliest end anchor strictly after the start anchor.
Remarks
The end strategy is evaluated for the start anchor's civil year and, when no acceptable candidate exists, the following civil year; the earliest candidate satisfying this rule is chosen. This lets a December start strategy and a January end strategy form one cross-year occurrence without an explicit year offset.
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |