Nope, pass in a factory object that returns the time, see https://github.com/owncloud/appframework/blob/master/utility/timefactory.php#L38