Indicates whether the specified date is a weekday.
Namespace:
Imsl.Chart2D
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public virtual bool IsWeekday( DateTime dateTime ) |
Visual Basic (Declaration) |
---|
Public Overridable Function IsWeekday ( _ dateTime As DateTime _ ) As Boolean |
Visual C++ |
---|
public: virtual bool IsWeekday( DateTime dateTime ) |
Parameters
- dateTime
- Type: System..::.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.