mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
helper: Removed obsolete getExcludedRanges
This commit is contained in:
parent
50c208cc7e
commit
2770103f7d
2 changed files with 0 additions and 17 deletions
|
@ -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:
|
||||
// [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue