Table of Contents

WeekdayProximity Enum

Definition

Namespace
Bodu.Globalization.Calendar
Assembly
Bodu.Globalization.Calendar.dll
Package
Bodu.Globalization.Calendar 1.0.1
Source
WeekdayProximity.cs

Identifies the direction and inclusivity used when seeking a weekday relative to an anchor date.

public enum WeekdayProximity
Extension Methods

Fields

Before = 0

The first matching weekday strictly before the anchor.

OnOrBefore = 1

The anchor itself when it matches, otherwise the first matching weekday before it.

Nearest = 2

The matching weekday closest to the anchor in either direction.

OnOrAfter = 3

The anchor itself when it matches, otherwise the first matching weekday after it.

After = 4

The first matching weekday strictly after the anchor.

Applies to

ProductVersions
.NET8, 10

See Also