Skip to content

DateRangeExtensions.ContiguousOptions

Nested enum controlling how strictly adjacency is judged when testing whether a sequence of date ranges is contiguous, used by DateRangeExtensions.IsContiguous. (BR-007)

Purpose

  • Nested enum controlling how strictly adjacency is judged when testing whether a sequence of date ranges is contiguous, used by DateRangeExtensions.IsContiguous. (BR-007)

Context

  • Namespace: SAIF.Common.Extensions
  • Assembly/package: SAIF.Framework.Common

Members

Name Value Purpose
StartMatchesEnd A range's start must equal the previous range's end exactly.
StartIsNextDay A range's start must be the calendar day after the previous range's end.
AllowGaps Gaps between consecutive ranges are tolerated.

Sources

  • Common/SAIF.Common/Extensions/DateRangeExtensions.cs