Closed incubos closed 12 years ago
System.currentTimeMillis() returns long. As a consequence arithmetics with time intervals (measured in ms) is usually done in long. It would be much more convenient if you changed StatsdTimer interface to accept millis as long values.
System.currentTimeMillis()
long
StatsdTimer
millis
OK fix for this is pushed now.
Good suggestion. Thanks.
System.currentTimeMillis()
returnslong
. As a consequence arithmetics with time intervals (measured in ms) is usually done inlong
. It would be much more convenient if you changedStatsdTimer
interface to acceptmillis
aslong
values.