DateUtilsToDayOfWeek Method

This can be used to explicitly convert a DaysOfWeek value to a DayOfWeek value.

Definition

Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2023.1.2.0
public static DayOfWeek ToDayOfWeek(
	DaysOfWeek days
)

Parameters

days  DaysOfWeek
The DaysOfWeek value to convert

Return Value

DayOfWeek
Returns the DaysOfWeek value as a DayOfWeek value. If the DaysOfWeek value is a combination of days, only the first day of the week found is returned. If it is set to None, it returns Sunday.

See Also