TimeUtils.IsWeekday method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Time
Assembly Skybrud.Essentials.dll

IsWeekday(DateTime)

Static

Gets whether the specified date is a weekday.

public static bool IsWeekday(DateTime date)

Parameters

date DateTime

The date.

Returns

true if the specified day is weekday; otherwise false.

IsWeekday(DateTimeOffset)

Static

Gets whether the specified date is a weekday.

public static bool IsWeekday(DateTimeOffset date)

Parameters

The date.

Returns

true if the specified day is weekday; otherwise false.