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 = 0The first matching weekday strictly before the anchor.
OnOrBefore = 1The anchor itself when it matches, otherwise the first matching weekday before it.
Nearest = 2The matching weekday closest to the anchor in either direction.
OnOrAfter = 3The anchor itself when it matches, otherwise the first matching weekday after it.
After = 4The first matching weekday strictly after the anchor.
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |