Aqueduct.Extensions.Dates.IsWeekDay C# (CSharp) Méthode

IsWeekDay() public static méthode

Checks to see if the date is a week day (Mon - Fri)
public static IsWeekDay ( this dt ) : bool
dt this The dt.
Résultat bool
        public static bool IsWeekDay(this DateTime dt)
        {
            return (dt.DayOfWeek != DayOfWeek.Saturday && dt.DayOfWeek != DayOfWeek.Sunday);
        }