#25675Make scheduler's execution class fully testable
Description
classtx_scheduler_Execution uses current timestamp as basis for execution calculations . This makes it hard to write testcases to this method. Those should ideally work with a fixed date to get simple expected results for testcases.
Solution:
Use global EXEC_TIME by default (set in constructor) and add getter/setter to modify the time.
Note:
Using global EXEC_TIME instead of several time() function calls should even have an positive perfomance impact.
(issue imported from #M16333)