helper: Removed obsolete getExcludedRanges

This commit is contained in:
Paul Beckingham 2016-05-09 00:03:47 -04:00
parent 50c208cc7e
commit 2770103f7d
2 changed files with 0 additions and 17 deletions

View file

@ -128,22 +128,6 @@ bool expandIntervalHint (
return false;
}
////////////////////////////////////////////////////////////////////////////////
// Excluded time is that which is not available for work.
/*
std::vector <Range> getExcludedRanges (Rules& rules, Range& range)
{
// Create a range representing the whole timeline.
// If no range is defined, then assume the full range of all the inclusions.
Range overallRange {range};
if (! overallRange.started () &&
! overallRange.ended ())
overallRange = outerRange (getInclusions (database));
// Cobmine all the non-trackable time.
return getAllExclusions (rules, overallRange);
}
*/
////////////////////////////////////////////////////////////////////////////////
// Compose a JSON document of intervals. In the trivial case:
// [