Logo Search packages:      
Sourcecode: taskjuggler version File versions  Download package

void Project::addVacation ( const QString &  n,
const Interval &  i 
) [inline]

Add a vacation interval to the vacation list. These global vacations are meant for events like Christmas, Eastern or corporate hollidays. A day that overlaps any of the intervals in the list is considered to not be a working day. Vacation intervals may not overlap.

Parameters:
n Name of the vacation.
i The time interval the vacation lasts.

Definition at line 354 of file Project.h.

References VacationList::add().

Referenced by ProjectFile::parse().

    {
        vacationList.add(n, i);
    }


Generated by  Doxygen 1.6.0   Back to index