#6 Misleading documentation for SnmpTimeTicks

open
nobody
None
5
2010-03-29
2010-03-29
No

SnmpTimeTicks constructor's comment says: "The value passed to the constructor should be the number of milliseconds since epoch, as defined by RFC 1155".

This is wrong. RFC1155 (and the java code of class SnmpTimeTicks's toString() method) agree that the correct unit of time ticks is "1/100 seconds", not milliseconds.
If you pass milliseconds to the constructor, you end up with wrong times.

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks