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

bool Project::isWorkingDay ( time_t  d  )  const

If there is a working interval defined for this weekday and the day is not registered as a vacation day then it is a workday.

Definition at line 402 of file Project.cpp.

References isVacation().

Referenced by calcWorkingDays().

{
    return !(workingHours[dayOfWeek(d, FALSE)]->isEmpty() ||
             isVacation(d));
}


Generated by  Doxygen 1.6.0   Back to index