I'm pretty sure Mircea wanted expiration checks to rely on wallClockTime(), not on currentTimeMillis()...

Pedro said he wanted duration()/wallClockDuration() for his statistics tests, but I'm pretty sure anything you can do by modifying the behaviour of duration() can also be done by modifying the behaviour of time()/wallClockTime().