Show / Hide Table of Contents

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 value is weekday.

Declaration
public static bool IsWeekday(this DayOfWeek dayOfWeek)
Parameters
Type Name Description
DayOfWeek dayOfWeek
Returns
Type Description
System.Boolean

IsWeekend(DayOfWeek)

Check if given value is weekend.

Declaration
public static bool IsWeekend(this DayOfWeek dayOfWeek)
Parameters
Type Name Description
DayOfWeek dayOfWeek
Returns
Type Description
System.Boolean
Back to top Powered by Volosoft