mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Handle zero-width intervals correctly
Fixes #101 Fixes #165 Closes #164
This commit is contained in:
parent
0273987ae6
commit
4325ffa136
5 changed files with 74 additions and 15 deletions
|
@ -51,7 +51,9 @@ public:
|
|||
|
||||
bool overlap (const Range&) const;
|
||||
bool encloses (const Range&) const;
|
||||
bool segmentContains (const Range&) const;
|
||||
Range intersect (const Range&) const;
|
||||
bool intersects (const Range&) const;
|
||||
Range combine (const Range&) const;
|
||||
std::vector <Range> subtract (const Range&) const;
|
||||
time_t total () const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue