|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.connect.DbValue
jet.connect.DbDateTime
jet.connect.DbTimestamp
public class DbTimestamp
| Field Summary | |
|---|---|
int |
nanos
|
| Fields inherited from class jet.connect.DbDateTime |
|---|
value |
| Fields inherited from class jet.connect.DbValue |
|---|
bNull, CHAR_DESC, CURRENCY_DESC, DATE_DESC, desc, DOUBLE_DESC, INTEGER_DESC, TIME_DESC |
| Constructor Summary | |
|---|---|
DbTimestamp()
|
|
DbTimestamp(DbColDesc desc)
|
|
DbTimestamp(java.sql.Timestamp v)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Creates a clone of this DbValue variable. |
int |
compareTo(DbValue v)
Compare with the dbvalue v; |
boolean |
equals(DbValue v)
Determine if another DbValue object is of equal value as this DbValue Object |
int |
getNanos()
|
java.sql.Timestamp |
getTimestamp()
|
void |
set(DbValue v)
Set the value with DbValue. |
void |
set(JRHierarchicalDataset hds,
int col)
|
void |
set(long time,
int nanos)
|
void |
set(java.sql.ResultSet rs,
int col)
Set the value with result set. |
void |
set(java.sql.Timestamp v)
|
void |
setNanos(int v)
|
void |
setTimestamp(java.sql.Timestamp v)
|
void |
setValue(DbValue v)
|
void |
setValue(java.lang.String v)
Set the value with a string. |
java.lang.String |
toFormatString(java.lang.String pattern)
Add for parse DbTimestamp which contain nanos to valid string. |
java.lang.String |
toString()
Convert the value to string. |
java.util.Date |
toUtilDate()
|
| Methods inherited from class jet.connect.DbDateTime |
|---|
get, set, toSqlDate |
| Methods inherited from class jet.connect.DbValue |
|---|
equals, getColDesc, getPrecision, getScale, getSqlType, isCurrency, isNull, makeDbValue, setColDesc, setfoo, setNull |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int nanos
| Constructor Detail |
|---|
public DbTimestamp()
public DbTimestamp(java.sql.Timestamp v)
public DbTimestamp(DbColDesc desc)
| Method Detail |
|---|
public void setNanos(int v)
public int getNanos()
public java.util.Date toUtilDate()
toUtilDate in class DbDateTime
public void set(long time,
int nanos)
public java.sql.Timestamp getTimestamp()
public void setTimestamp(java.sql.Timestamp v)
public void set(java.sql.Timestamp v)
public void set(java.sql.ResultSet rs,
int col)
throws java.sql.SQLException
DbValue
set in class DbValuers - the source value result set.col - the source value column number in the rs.
java.sql.SQLException
public void set(JRHierarchicalDataset hds,
int col)
throws java.sql.SQLException
set in class DbValuejava.sql.SQLExceptionpublic java.lang.String toString()
DbValue
toString in class DbValuepublic java.lang.Object clone()
DbValue
clone in class DbValuepublic boolean equals(DbValue v)
DbValue
equals in class DbDateTimepublic int compareTo(DbValue v)
DbValue
compareTo in class DbDateTimepublic void set(DbValue v)
DbValue
set in class DbValuepublic void setValue(DbValue v)
setValue in class DbDateTimepublic void setValue(java.lang.String v)
DbValue
setValue in class DbValuepublic java.lang.String toFormatString(java.lang.String pattern)
toFormatString in class DbDateTime
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||