Floating HolidayTo Date Time Method
Convert the instance to a DateTime object based on its settings and the passed year
value.
Definition
Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2025.1.9.0
Returns a DateTime object that represents the holiday date
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2025.1.9.0
C#
public override DateTime ToDateTime(
int year
)VB
Public Overrides Function ToDateTime (
year As Integer
) As DateTimeC++
public:
virtual DateTime ToDateTime(
int year
) overrideF#
abstract ToDateTime :
year : int -> DateTime
override ToDateTime :
year : int -> DateTime Parameters
- year Int32
- The year in which the holiday occurs
Return Value
DateTimeReturns a DateTime object that represents the holiday date