Table of Contents

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 = 0

Selects the earliest end anchor on or after the start anchor.

FirstAfterStart = 1

Selects 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

ProductVersions
.NET8, 10

See Also