Package org.apache.openjpa.lib.util
Class TimestampHelper
- java.lang.Object
-
- org.apache.openjpa.lib.util.TimestampHelper
-
public class TimestampHelper extends Object
Helper base class attempts to return java.sql.Timestamp object with nanosecond precision.- Author:
- Albert Lee
-
-
Field Summary
Fields Modifier and Type Field Description protected static long
MicroMuliplier
protected static long
MilliMuliplier
protected static long
NanoMuliplier
-
Constructor Summary
Constructors Constructor Description TimestampHelper()
-
-
-
Field Detail
-
MilliMuliplier
protected static final long MilliMuliplier
- See Also:
- Constant Field Values
-
MicroMuliplier
protected static final long MicroMuliplier
- See Also:
- Constant Field Values
-
NanoMuliplier
protected static final long NanoMuliplier
- See Also:
- Constant Field Values
-
-
Method Detail
-
getNanoPrecisionTimestamp
public static Timestamp getNanoPrecisionTimestamp()
-
-