From 0cab8ebcb3c1d335397b56268f0b6a9446614425 Mon Sep 17 00:00:00 2001 From: Fabio Date: Fri, 9 Feb 2024 11:03:22 -0300 Subject: [PATCH] Novo layout relatorio forma pagamento feat bug #AL-3565 --- pom.xml | 2 +- .../rjconsultores/ventaboletos/utilerias/DateUtil.java | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index f5aae2e6b..bcada0070 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 br.com.rjconsultores ModelWeb - 1.36.3 + 1.37.0 diff --git a/src/com/rjconsultores/ventaboletos/utilerias/DateUtil.java b/src/com/rjconsultores/ventaboletos/utilerias/DateUtil.java index 3bebbd3d3..ec62f5df8 100644 --- a/src/com/rjconsultores/ventaboletos/utilerias/DateUtil.java +++ b/src/com/rjconsultores/ventaboletos/utilerias/DateUtil.java @@ -628,6 +628,14 @@ public final class DateUtil { public static Date fimFecha(Date fecha) { return fimFecha(fecha, false); } + + public static java.sql.Date inicioFechaSql(Date fecha) { + return new java.sql.Date(inicioFecha(fecha, false).getTime()); + } + + public static java.sql.Date fimFechaSql(Date fecha) { + return new java.sql.Date(fimFecha(fecha, false).getTime()); + } public static Date somarDias(Date data, int quantidadeDias) { Integer dias = UM_DIA * quantidadeDias;