Skip to content

CountDoWBetween Method ​

Definition ​

  • Namespace: JASE.Extensions
  • Assembly: JASE.Primitives.dll

int CountDoWBetween(DateTime input, DateTime end, DayOfWeek dow, IEnumerable<DateTime> holidays = null, bool allowDateFlip = null) ​

csharp
int CountDoWBetween(DateTime input, DateTime end, DayOfWeek dow, IEnumerable<DateTime> holidays = null, bool allowDateFlip = null)

Counts the occurences of DayOfWeek between two days accounting for holidays If allowReverse is true, the method reverses input and end when input > end.