Skip to content

Instantly share code, notes, and snippets.

@DanielWJudge
Created August 25, 2014 15:43
Show Gist options
  • Save DanielWJudge/06d4a78b280587add2b6 to your computer and use it in GitHub Desktop.
Save DanielWJudge/06d4a78b280587add2b6 to your computer and use it in GitHub Desktop.
Time Period Overlap
//final overlapping periods
ITimePeriodCollection overlapPeriods = new TimePeriodCollection();
//used to help find overlaps
TimePeriodIntersector<TimeRange> periodCombiner = new TimePeriodIntersector<TimeRange>();
//periods to check to see if they overlap
TimePeriodCollection periodsToCheck = new TimePeriodCollection();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment