Package org.apache.openjpa.lib.util
Class TimestampHelper
- java.lang.Object
-
- org.apache.openjpa.lib.util.TimestampHelper
-
public class TimestampHelper extends java.lang.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()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.sql.Timestamp
getNanoPrecisionTimestamp()
-
-
-
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
-
-