Table of Contents

AdjustmentTrigger Enum

Definition

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

Identifies the condition that determines whether an adjustment policy applies to a calculated occurrence.

public enum AdjustmentTrigger
Extension Methods

Fields

Always = 0

The adjustment always applies, regardless of the calculated occurrence.

IfDayOfWeek = 1

The adjustment applies when the calculated occurrence falls on one of the policy's configured weekdays.

IfWeekend = 2

The adjustment applies when the calculated occurrence falls on a weekend: a day outside the resource's working week (Saturday or Sunday by default).

IfWeekday = 3

The adjustment applies when the calculated occurrence falls on a working day within the resource's working week (Monday through Friday by default).

IfNonWorkingDay = 4

The adjustment applies when the calculated occurrence falls on a non-working day: a day outside the resource's working week, or a day already claimed by another non-working occurrence.

IfWorkingDay = 5

The adjustment applies when the calculated occurrence falls on a working day within the resource's working week that is not claimed by another non-working occurrence.

IfLeapYear = 6

The adjustment applies when the calculated occurrence falls in a Gregorian leap year.

IfBeforeFixedDate = 7

The adjustment applies when the calculated occurrence falls before the policy's comparison month and day in the same year.

IfAfterFixedDate = 8

The adjustment applies when the calculated occurrence falls after the policy's comparison month and day in the same year.

IfNthOccurrenceInMonth = 9

The adjustment applies when the calculated occurrence is the configured nth weekday of its month.

Custom = 10

The adjustment applies when a caller-supplied IAdjustmentTriggerHandler, bound through the policy's trigger handler key, reports that it should fire.

Applies to

ProductVersions
.NET8, 10

See Also