2 * VacationInterval.h - TaskJuggler
4 * Copyright (c) 2001, 2002, 2003, 2004 by Chris Schlaeger <cs@kde.org>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of version 2 of the GNU General Public License as
8 * published by the Free Software Foundation.
12 #ifndef _VacationInterval_h_
13 #define _VacationInterval_h_
18 * @short A time interval with a name.
19 * @author Chris Schlaeger <cs@kde.org>
21 class VacationInterval : public Interval
29 VacationInterval(const QString& n, const Interval& i) :
34 virtual ~VacationInterval() { }
36 void setStart(time_t s) { start = s; }
37 void setEnd(time_t e) { end = e; }
38 void setName(const QString& n) { name = n; }
39 const QString& getName() const { return name; }