Class AbpDayOfWeekExtensions
Extension methods for the
Inheritance
System.Object
AbpDayOfWeekExtensions
Namespace: System
Assembly: Volo.Abp.Core.dll
Syntax
public static class AbpDayOfWeekExtensions : object
Methods
IsWeekday(DayOfWeek)
Check if given
Declaration
public static bool IsWeekday(this DayOfWeek dayOfWeek)
Parameters
| Type | Name | Description |
|---|---|---|
| DayOfWeek | dayOfWeek |
Returns
| Type | Description |
|---|---|
| System.Boolean |
IsWeekend(DayOfWeek)
Check if given
Declaration
public static bool IsWeekend(this DayOfWeek dayOfWeek)
Parameters
| Type | Name | Description |
|---|---|---|
| DayOfWeek | dayOfWeek |
Returns
| Type | Description |
|---|---|
| System.Boolean |