import net.sf.jasperreports.engine.JRScriptletException;
public class customerWithPaymentsScriptlet extends JRDefaultScriptlet {
public String getMonthYearUA(int periodCode) throws JRScriptletException {
PeriodLogic pl = new PeriodLogic(
(Connection) getParameterValue("REPORT_CONNECTION"));
pl.loadPeriodByCode(periodCode);
return LangLogic.getMonthYearUA(pl.getStartDate());
}