mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
Exclusion: Reduced to a simple syntax validator and token store
This commit is contained in:
parent
8db434e0e3
commit
f2db0ad0d2
2 changed files with 10 additions and 94 deletions
|
@ -37,13 +37,6 @@ public:
|
|||
Exclusion () = default;
|
||||
void initialize (const std::string&);
|
||||
std::vector <std::string> tokens () const;
|
||||
std::vector <Interval> intervals (const Interval&) const;
|
||||
|
||||
private:
|
||||
std::vector <Interval> expandIntervalsHolidays (const Interval&) const;
|
||||
std::vector <Interval> expandIntervalsWork (const Interval&) const;
|
||||
std::vector <Interval> expandIntervalsWeek (const Interval&) const;
|
||||
std::vector <Interval> expandIntervalsDay (const Interval&) const;
|
||||
|
||||
private:
|
||||
std::vector <std::string> _tokens;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue