DateTimeOffsetExtensions.IsWeekday method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Time.Extensions |
---|---|
Assembly | Skybrud.Essentials.dll |
IsWeekday(DateTimeOffset)
Extension method
Gets whether the specified date
is a weekday.
public static bool IsWeekday(this DateTimeOffset date)
Parameters
date
DateTimeOffset
An instance of DateTimeOffset representing the date.
Returns
true
if date
is a weekday; otherwise false
.