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