HolidayCollectionAddFloating Method
Add a new holiday object to the collection that occurs on a floating date
Namespace: EWSoftware.PDIAssembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2023.1.2.0
public FloatingHoliday AddFloating(
DayOccurrence occur,
DayOfWeek dow,
int month,
int offset,
string description
)
Public Function AddFloating (
occur As DayOccurrence,
dow As DayOfWeek,
month As Integer,
offset As Integer,
description As String
) As FloatingHoliday
public:
FloatingHoliday^ AddFloating(
DayOccurrence occur,
DayOfWeek dow,
int month,
int offset,
String^ description
)
member AddFloating :
occur : DayOccurrence *
dow : DayOfWeek *
month : int *
offset : int *
description : string -> FloatingHoliday
- occur DayOccurrence
- The occurrence of the day of the week on which the floating holiday falls.
- dow DayOfWeek
- The day of the week on which it occurs.
- month Int32
- The month of the holiday.
- offset Int32
- The number of days before or after the calculated floating date on which the
holiday actually occurs. See the Offset property for more information
about this parameter.
- description String
- A description of the holiday.
FloatingHolidayThe floating holiday that was added