HolidayCollectionAddFloating Method

Add a new holiday object to the collection that occurs on a floating date

Definition

Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2023.1.2.0
public FloatingHoliday AddFloating(
	DayOccurrence occur,
	DayOfWeek dow,
	int month,
	int offset,
	string description
)

Parameters

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.

Return Value

FloatingHoliday
The floating holiday that was added

See Also