2 * ShiftSelection.cpp - 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.
13 #include "ShiftSelection.h"
15 ShiftSelection::ShiftSelection(const ShiftSelection& sl) :
16 period(new Interval(*sl.period)),
22 ShiftSelection::isVacationDay(time_t day) const
24 return period->contains(day) && shift->isVacationDay(day);