if (!personFunction.isActive(prepareCurrentDate())) {
if (!personFunction.isActive(Calendar.getInstance().getTime())) {
    public List<IPersonFunction> getInactiveFunctions() {        List<IPersonFunction> inactiveFunctions = new ArrayList<IPersonFunction>();        for (IPersonFunction personFunction : this.getPersonFunctions()) {           if (!personFunction.isActive(prepareCurrentDate())) {                inactiveFunctions.add(personFunction);            }        }        return inactiveFunctions;    }