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 abstract DateTime ToDateTime(
int year
)VB
Public MustOverride Function ToDateTime (
year As Integer
) As DateTimeC++
public:
virtual DateTime ToDateTime(
int year
) abstractF#
abstract 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