Table of Contents

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

Leave the occurrence unchanged.

AddDays = 1

Shift the occurrence by a fixed number of days.

MoveToNextWeekday = 2

Move the occurrence forward to the next instance of the configured weekday.

MoveToPreviousWeekday = 3

Move the occurrence backward to the previous instance of the configured weekday.

MoveToNextWorkingDay = 4

Move the occurrence forward to the next working day, skipping weekends.

MoveToPreviousWorkingDay = 5

Move the occurrence backward to the previous working day, skipping weekends.

ReplaceWithRule = 6

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

Suppress the occurrence entirely.

Custom = 8

Delegate 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

ProductVersions
.NET8, 10

See Also