mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
TI-66: Move with :adjust leaves overlapping intervals.
- Implement 'overwrite' overlap resolution strategy - Add convenience methods to Range - also fixes TI-85: :adjust creates overlapping interval
This commit is contained in:
parent
963d4ac7ae
commit
48ed980c76
4 changed files with 70 additions and 54 deletions
|
@ -45,6 +45,9 @@ public:
|
|||
bool is_open () const;
|
||||
bool is_started () const;
|
||||
bool is_ended () const;
|
||||
bool is_empty () const;
|
||||
|
||||
bool contains (const Datetime&) const;
|
||||
|
||||
bool overlap (const Range&) const;
|
||||
bool encloses (const Range&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue