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 = 0The adjustment always applies, regardless of the calculated occurrence.
IfDayOfWeek = 1The adjustment applies when the calculated occurrence falls on one of the policy's configured weekdays.
IfWeekend = 2The adjustment applies when the calculated occurrence falls on a weekend: a day outside the resource's working week (Saturday or Sunday by default).
IfWeekday = 3The adjustment applies when the calculated occurrence falls on a working day within the resource's working week (Monday through Friday by default).
IfNonWorkingDay = 4The 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 = 5The 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 = 6The adjustment applies when the calculated occurrence falls in a Gregorian leap year.
IfBeforeFixedDate = 7The adjustment applies when the calculated occurrence falls before the policy's comparison month and day in the same year.
IfAfterFixedDate = 8The adjustment applies when the calculated occurrence falls after the policy's comparison month and day in the same year.
IfNthOccurrenceInMonth = 9The adjustment applies when the calculated occurrence is the configured nth weekday of its month.
Custom = 10The adjustment applies when a caller-supplied IAdjustmentTriggerHandler, bound through the policy's trigger handler key, reports that it should fire.
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |