client = new Client("", "", "", "");
}
System.out.println("[" + Shared.now() + "] " + this.getClass().getName() + " " + Shared.lineNumber() + " Hora = " + hour + " _ " + hour);
ans = printer.NewDoc(Integer.parseInt(Shared.getConfig("creditNote")), client.getName(), client.getId(),
Shared.getUser().getLogin() + " " + ticketId, receiptPrinter, new NativeLong(Long.parseLong(fiscalTicketId)), (calendar.get(Calendar.DAY_OF_MONTH)),
//(calendar.get(Calendar.MONTH)+1), calendar.get(Calendar.YEAR)%100+Constants.ncrYearOffset, (calendar.get(Calendar.HOUR)+12)%13,
(calendar.get(Calendar.MONTH)+1), calendar.get(Calendar.YEAR)%100, hour,
calendar.get(Calendar.MINUTE), calendar.get(Calendar.SECOND),
((calendar.get(Calendar.AM_PM) == Calendar.AM)?0:1) ,(calendarCN.get(Calendar.DAY_OF_MONTH)),
(calendarCN.get(Calendar.MONTH)+1), calendar.get(Calendar.YEAR)%100, hourCN,