.. include:: /Includes.rst.txt .. _task-1793181350: =============================================================== Task: Keep the period rules out of the filter of day violations =============================================================== Description =========== The rule filter of the list of violations offered ``dailyAverageExceeded``, whose breaches are never violations of a day; they are listed in the periods tab of an account. ``ViolationRuleCodes`` has a new method ``periodRuleCodes()`` that names the codes of a package checked over periods, and ``listWorkingTimeViolationRules`` leaves such rules out. Impact ====== ``listWorkingTimeViolationRules`` no longer lists ``dailyAverageExceeded``. A package that implements ``ViolationRuleCodes`` adds ``periodRuleCodes()``, returning an empty list when it checks no rule over periods. .. index:: API, Extending, package:adsum-attendance, package:adsum-country-de