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

QPtrList<Interval>* Project::getWorkingHours ( int  day  )  const [inline]

Returns the list of working intervals for the specified weekday.

Parameters:
day Day of the week. 0 for Sunday, 1 for Monday and so on.

Definition at line 255 of file Project.h.

    {
        if (day < 0 || day > 6)
            qFatal("day out of range");
        return workingHours[day];
    }


Generated by  Doxygen 1.6.0   Back to index