DateTimeExtensions..::..IsWeekend Method (DayOfWeek)

Determines whether this instance is weekend.

Namespace:  Core
Assembly:  Core (in Core.dll)

Syntax


public static bool IsWeekend(
	DayOfWeek d
)

Parameters

d
Type: DayOfWeek
The d.

Return Value

true if the specified d is weekend; otherwise, false.