mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
Timeline: Described ::untracked
This commit is contained in:
parent
ee21f7be99
commit
54f626c14f
1 changed files with 8 additions and 4 deletions
|
@ -111,12 +111,16 @@ std::vector <Interval> Timeline::tracked (Rules& rules) const
|
|||
// Untracked time is that which is not excluded, and not filled. Gaps.
|
||||
std::vector <Interval> Timeline::untracked (Rules& rules) const
|
||||
{
|
||||
std::vector <Interval> combined;
|
||||
std::vector <Interval> gaps;
|
||||
|
||||
// TODO Combine _inclusions and _exclusions to yield a set of collapsed
|
||||
// unracked intervals.
|
||||
// Get the set of expanded exclusions that overlap the range defined by the
|
||||
// timeline. If no range is defined, derive it from the set of all data.
|
||||
auto exclusions = excluded (rules);
|
||||
|
||||
return combined;
|
||||
// TODO subtract all exclusions
|
||||
// TODO subtract all inclusions
|
||||
|
||||
return gaps;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue