return (!this.getBeginDate().isAfter(currentDate) && (this.getEndDate() == null || !this .getEndDate().isBefore(currentDate)));
return belongsToPeriod(currentDate, currentDate);
    public boolean isActive(YearMonthDay currentDate) {        return (!this.getBeginDate().isAfter(currentDate) && (this.getEndDate() == null || !this                .getEndDate().isBefore(currentDate)));    }