/// <summary> /// Gets whether the specified <paramref name="date"/> is in the weekend. /// </summary> /// <param name="date">The date.</param> /// <returns> /// Returns <c>true</c> if the specified day is weekend; otherwise <c>false</c>. /// </returns> public static bool IsWeekend(DateTimeOffset date) { return(TimeUtils.IsWeekend(date)); }