DateUtilsToDayOfWeek Method
Namespace: EWSoftware.PDIAssembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2023.1.2.0
public static DayOfWeek ToDayOfWeek(
DaysOfWeek days
)
Public Shared Function ToDayOfWeek (
days As DaysOfWeek
) As DayOfWeek
public:
static DayOfWeek ToDayOfWeek(
DaysOfWeek days
)
static member ToDayOfWeek :
days : DaysOfWeek -> DayOfWeek
- days DaysOfWeek
- The DaysOfWeek value to convert
DayOfWeekReturns 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.