Exclusion: Reduced to a simple syntax validator and token store

This commit is contained in:
Paul Beckingham 2016-04-02 00:00:03 -04:00
parent 8db434e0e3
commit f2db0ad0d2
2 changed files with 10 additions and 94 deletions

View file

@ -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;