/// <summary>Replaces inclusive boundaries with exclusive ones.</summary> /// <param name="range">The date range.</param> /// <returns>A range with inclusive boundaries.</returns> public static Range <DateTime> MakeExclusive(this Range <DateTime> range) => range.MakeExclusive(d => d.PrevDay(), d => d.NextDay());