Holiday CollectionAdd Fixed Method
Add a new holiday object to the collection that occurs on a fixed date
Definition
Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2025.1.9.0
The fixed holiday that was added
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2025.1.9.0
C#
public FixedHoliday AddFixed(
int month,
int day,
bool adjust,
string description
)VB
Public Function AddFixed (
month As Integer,
day As Integer,
adjust As Boolean,
description As String
) As FixedHolidayC++
public:
FixedHoliday^ AddFixed(
int month,
int day,
bool adjust,
String^ description
)F#
member AddFixed :
month : int *
day : int *
adjust : bool *
description : string -> FixedHoliday Parameters
- month Int32
- The month of the holiday.
- day Int32
- The day of the month on which it occurs.
- adjust Boolean
- Set to true to adjust date to the Friday or Monday if it falls on a weekend or false to always keep it on the specified day of the month.
- description String
- A description of the holiday.
Return Value
FixedHolidayThe fixed holiday that was added