Re: java.lang.UnsupportedOperationException in the Time component

2022-12-23 Thread Massimiliano Del Matto
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.co

Re: java.lang.UnsupportedOperationException in the Time component

2022-12-23 Thread Lukasz Lenart
pt., 23 gru 2022 o 10:10 Massimiliano Del Matto 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 fi

Re: java.lang.UnsupportedOperationException in the Time component

2022-12-23 Thread Massimiliano Del Matto
Might be ok for me. Thank you! Massimiliano *Massimiliano Del Matto* Mobile +39 393 8797250 Cube Consultants S.r.l. Via Francesco Cangiullo, 24 - 00142 Roma Tel. +39 06 5200668 Fax +39 06 23327506 *Le informazioni contenute nella presente comunicazione e i rel