15 lines
375 B
C#
15 lines
375 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using DevExpress.XtraScheduler;
|
|
|
|
namespace BS.Shared.Extensions
|
|
{
|
|
public static class TimeIntervalExtensions
|
|
{
|
|
public static bool ContainsEveryDateFromList(this TimeInterval interval, IList<DateTime> dateList)
|
|
{
|
|
return dateList.All(interval.Contains);
|
|
}
|
|
}
|
|
} |