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