/** * Return the name of the reporting period. * * @param date the start date of the reporting period. * @param format the i18n format. * @return the name of the reporting period. */ public String getReportingPeriodName( Date date, I18nFormat format ) { if ( date == null ) { return getReportingPeriodName( format ); } Period period = getPeriodType().createPeriod( date ); return format.formatPeriod( period ); }
this.reportingPeriodName = relatives.getReportingPeriodName( date, format );