if (personFunction.isActive(prepareCalendar().getTime())) {
if (personFunction.isActive(prepareCurrentDate())) {
    public List<IPersonFunction> getActiveFunctions() {        List<IPersonFunction> activeFunctions = new ArrayList<IPersonFunction>();        for (IPersonFunction personFunction : this.getPersonFunctions()) {            if (personFunction.isActive(prepareCalendar().getTime())) {                activeFunctions.add(personFunction);            }        }        return activeFunctions;    }