pt., 23 gru 2022 o 10:10 Massimiliano Del Matto
<massimiliano.delma...@cubemail.it> napisał(a):
>
> java.sql.Time extends java.util.Date so when dateObject is java.sql.Time is
> treated like an instanceof java.util.Date and toInstant() throws the
> UnsupportedOperationException.
> Also java.sql.Date extends java.util.Date and the fix in WW-5197 has been
> right the add of java.sql.Date:
> https://github.com/apache/struts/pull/574/commits/61ded9a3e7e282bcb9096ca5b3c859c8b45546fa

Right, thanks for pointing this out! There is one more issue,
java.sql.Time doesn't have date information, so we must assume it will
be "today" - is that ok?


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to