Details
-
Improvement
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
Methods in Timer interface, e.g. Timer.isReady() accept long timestamp, but in all contexts where the Timer implementations are used, we operate with Time objects. That leads to awkward chain calls, e.g.
timer.getDuration(event.getTimeStamp())
instead of shorter and more readable and type safe
timer.getDuration(event)
We propose to deprecate methods that take long timestamp in release 0.16 in favor of parameters of type Time and remove old methods in teh subsequent release.