mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +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:
|
||||
// [
|
||||
|
|
|
@ -67,7 +67,6 @@ int dispatchCommand (const CLI&, Database&, Rules&, const Extensions&);
|
|||
Color tagColor (const Rules&, const std::string&);
|
||||
std::string intervalSummarize (const Rules&, const Interval&);
|
||||
bool expandIntervalHint (const std::string&, std::string&, std::string&);
|
||||
std::vector <Range> getExcludedRanges (Rules&, Range&);
|
||||
std::string jsonFromIntervals (const std::vector <Interval>&);
|
||||
Palette createPalette (const Rules&);
|
||||
std::map <std::string, Color> createTagColorMap (const Rules&, Palette&, const std::vector <Interval>&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue