|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jolsrv2.utils.Mantissa
public class Mantissa
The class includes helper functions for the encoding/decoding of time in TLVs as described in RFC3626.
Constructor Summary | |
---|---|
Mantissa()
|
Method Summary | |
---|---|
static long |
decode(byte x)
The method decodes a byte encoded represented in mantissa/exponent format. |
static byte |
encode(double t)
The method encodes a double (in seconds) to mantissa/exponent format. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Mantissa()
Method Detail |
---|
public static final long decode(byte x)
x
- the encoded byte
public static final byte encode(double t)
t
- the time to encode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |