i'm trying to write an accumulation function that needs to be aware of the current time. i could obviously use System.currentTimeMillis(), but for testing im running a drools session with a pseudo-clock and would like to be able to test this function.
im looking for a way of getting at the session clock (or better yet, the KnowledgeRuntime) either from within the getResult() method or, if thats not possible, from the drools code itself (in te when section) so i could pass the clock to the function