public class DbTime extends DbDateTime
DbTime class wraps a value of primitive type long
 in an object.  An object of the type DbTime contains a single
 field whose type is long.
 In addition, this class provides several methods for the interconversion of 
 a DbTime and a String,
 as well as other constants and methods used when dealing
 with a DbTime.
Unknown_DataTimeZone, valueBIGINT_DESC, bNull, CHAR_DESC, CURRENCY_DESC, DATE_DESC, desc, DOUBLE_DESC, INTEGER_DESC, TIME_DESC| Constructor and Description | 
|---|
DbTime()
Constructs an uninitialized  
DbTime. | 
DbTime(DbColDesc desc)
Constructs an uninitialized  
DbTime. | 
DbTime(java.sql.Time v)
Constructs an uninitialized  
DbTime. | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.Object | 
clone()
Creates a clone of this  
DbTime object. | 
java.sql.Time | 
getTime()
Returns a  
java.sql.Time object using the milliseconds
 time value. | 
void | 
set(JRHierarchicalDataset hds,
   int col)
Sets a newly allocated  
DbTime object that
 represents the long value indicated by the
 JRHierarchicalDataset parameter and an index of column. | 
void | 
set(java.sql.ResultSet rs,
   int col)
Sets a newly allocated  
DbTime object that
 represents the long value indicated by the
 ResultSet parameter and an index of column. | 
void | 
setTime(java.sql.Time v)
Sets an existing  
java.sql.Time object
 using the given milliseconds time value. | 
void | 
setValue(java.lang.String v)
Sets a newly allocated  
DbTime object that
 represents the String value indicated by the
 String parameter. | 
java.lang.String | 
toString()
Returns a  
String object representing this
 DbTime's value. | 
compareTo, equals, get, getDataTimeZone, getFullValue, set, set, setDataTimeZone, setFullValue, toFormatString, toSqlDate, toStringValue, toUtilDatecompareTo, compareTo, compareTo, equals, getColDesc, getPrecision, getScale, getSqlType, isCurrency, isNull, makeDbValue, setColDesc, setfoo, setNull, setValuepublic DbTime()
DbTime. This
 DbTime object is mutable until the value and the description of the column are set.public DbTime(java.sql.Time v)
DbTime. This
 DbTime object is mutable until DbColDesc is set.v - The value holding a java.sql.Time object.public DbTime(DbColDesc desc)
DbTime. This
 DbTime object is mutable until the value is set.desc - The value to be represented by the
          DbColDesc object.public java.sql.Time getTime()
java.sql.Time object using the milliseconds
 time value.public void setTime(java.sql.Time v)
java.sql.Time object
 using the given milliseconds time value.
 It uses Time.getTime() to retrieve value.v - the valid Time valuepublic void set(java.sql.ResultSet rs,
                int col)
         throws java.sql.SQLException
DbTime object that
 represents the long value indicated by the
 ResultSet parameter and an index of column.public void set(JRHierarchicalDataset hds, int col) throws java.sql.SQLException
DbTime object that
 represents the long value indicated by the
 JRHierarchicalDataset parameter and an index of column.public java.lang.String toString()
String object representing this
 DbTime's value. The value is returned as a string. 
 If the value is null, it returns "NULL".public java.lang.Object clone()
DbTime object.