Casting between Date/DateTime/Time types gives ClassCastException
e.g.
slot.startTime := now(); //DateTime ... output(slot.startTime as Time)
results in
ERROR java.lang.ClassCastException java.sql.Timestamp cannot be cast to utils.RefArg at webdsl.generated.templates.outputTime_Template.storeArguments(outputTime_Template.java:51)
Succeed-test is already there (https://svn.strategoxt.org/repos/WebDSL/webdsls/trunk/test/succeed/datetype.app), we might want to make it a web-test.
Submitted by Elmer van Chastelet on 13 February 2014 at 10:27
Log in to post comments