Closed muhanadz closed 2 years ago
@sbesson I'm not sure. I simply needed to add time to an HQL query via the ParametersI() model but instead had to manually map the datetime object, since there wasn't a method for that. Added this method in case someone needed this in the future.
Added new addTime() method for
omero.sys.ParametersI
class. Added tests to test this method.Without this PR, adding
rtime
type object required manual mapping:With this PR, it is possible to add the date directly: