com.ibm.mm.sdk.common
Class DKTimestamp
- java.lang.Object
-
- java.util.Date
-
- java.sql.Timestamp
-
- com.ibm.mm.sdk.common.DKTimestamp
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<java.util.Date>
public class DKTimestamp extends java.sql.Timestamp implements java.io.SerializableDKTimestamp defines a generic timestamp class to represent timestamp data-type retrieved from back-end datastores. The default string format is yyyy-mo-dd-hh.mi.ss.nnnnnn, where nnnnnn is a six-digit fraction representing microseconds.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description DKTimestamp(int year, int month, int day, int hour, int minute, int second, int nnnnnn)DKTimestamp(long timestamp)DKTimestamp(java.sql.Timestamp timestamp)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetHours()java.lang.StringtoString()static java.sql.TimestampvalueOf(java.lang.String s)-
Methods inherited from class java.sql.Timestamp
after, before, compareTo, compareTo, equals, equals, from, getNanos, getTime, hashCode, setNanos, setTime, toInstant, toLocalDateTime, valueOf
-
-