Exemplo n.º 1
0
  public Collection<Period> namePeriods(Collection<Period> periods, I18nFormat format) {
    for (Period period : periods) {
      period.setName(format.formatPeriod(period));
    }

    return periods;
  }