Class AbpDayOfWeekExtensions
Inheritance
object
AbpDayOfWeekExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: System
Assembly: Volo.Abp.Core.dll
Syntax
public static class AbpDayOfWeekExtensions
Methods
IsWeekday(DayOfWeek)
Declaration
public static bool IsWeekday(this DayOfWeek dayOfWeek)
Parameters
Type | Name | Description |
---|---|---|
System.DayOfWeek | dayOfWeek |
Returns
Type | Description |
---|---|
bool |
IsWeekend(DayOfWeek)
Declaration
public static bool IsWeekend(this DayOfWeek dayOfWeek)
Parameters
Type | Name | Description |
---|---|---|
System.DayOfWeek | dayOfWeek |
Returns
Type | Description |
---|---|
bool |