IMSL C# Numerical Library

TransformDate.IsWeekday Method 

Indicates whether the specified date is a weekday.

public virtual bool IsWeekday(
   DateTime dateTime
);

Parameters

dateTime
A DateTime indicating the day to be confirmed a day other than Saturday or Sunday.

Return Value

A bool indicating whether this is neither Saturday nor Sunday.

Remarks

Returns false if the specified day is a Saturday or Sunday.

See Also

TransformDate Class | Imsl.Chart2D Namespace