AdjustmentAction Enum
Definition
- Namespace
- Bodu.Globalization.Calendar
- Assembly
- Bodu.Globalization.Calendar.dll
- Package
- Bodu.Globalization.Calendar 1.0.1
- Source
- AdjustmentAction.cs
Identifies how an adjustment policy transforms a calculated occurrence once its trigger is active.
public enum AdjustmentAction
- Extension Methods
Fields
None = 0Leave the occurrence unchanged.
AddDays = 1Shift the occurrence by a fixed number of days.
MoveToNextWeekday = 2Move the occurrence forward to the next instance of the configured weekday.
MoveToPreviousWeekday = 3Move the occurrence backward to the previous instance of the configured weekday.
MoveToNextWorkingDay = 4Move the occurrence forward to the next working day, skipping weekends.
MoveToPreviousWorkingDay = 5Move the occurrence backward to the previous working day, skipping weekends.
ReplaceWithRule = 6Replace the occurrence date with the date of another rule resolved for the same year, identified by the policy's notable-date and rule references.
Suppress = 7Suppress the occurrence entirely.
Custom = 8Delegate the observed-date computation to a caller-supplied IAdjustmentHandler resolved through the policy's handler key.
Remarks
Working-day aware actions treat the days outside the resource's working week as non-working. Whether they also step over days already claimed by other non-working occurrences is controlled by the owning policy's SkipNonWorkingDates flag.
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |