jet.connect
Class DbDateTime
java.lang.Object
jet.connect.DbValue
jet.connect.DbDateTime
- Direct Known Subclasses:
- DbDate, DbTime, DbTimestamp
public abstract class DbDateTime
- extends DbValue
The super class of DbDate, DbTime, DbTimestamp
| Methods inherited from class jet.connect.DbValue |
clone, equals, getColDesc, getPrecision, getScale, getSqlType, isCurrency, isNull, makeDbValue, set, set, set, setColDesc, setfoo, setNull, setValue, toString |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
value
public long value
DbDateTime
public DbDateTime()
DbDateTime
public DbDateTime(DbColDesc desc)
get
public long get()
set
public void set(long v)
toUtilDate
public java.util.Date toUtilDate()
toSqlDate
public java.util.Date toSqlDate()
toFormatString
public java.lang.String toFormatString(java.lang.String pattern)
equals
public boolean equals(DbValue v)
- Description copied from class:
DbValue
- Determine if another DbValue object is of
equal value as this DbValue Object
- Specified by:
equals in class DbValue
compareTo
public int compareTo(DbValue v)
- Description copied from class:
DbValue
- Compare with the dbvalue v;
- Specified by:
compareTo in class DbValue
- Returns:
- LESS, EQUAL, GREAT.
setValue
public void setValue(DbValue v)
- Overrides:
setValue in class DbValue