2005/5/9

     
 

class Time

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::sql::Time Class Reference

#include <Time.h>

Inheritance diagram for acdk::sql::Time:

acdk::util::Date acdk::io::Serializable acdk::lang::Object acdk::io::Serializable acdk::lang::Cloneable acdk::lang::Comparable acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

API: JDBC 2.0.

Author:
Roger Rene Kommer
Version:
Revision
1.10
Date:
Date
2005/04/08 10:53:21


Public Member Functions

 Time (int hour, int minute, int second)
 This method initializes a new instance of this class with the specified year, month, and day.

 Time (jlong date)
 This method initializes a new instance of this class with the specified time value representing the number of seconds since Jan 1, 1970 at 12:00 midnight GMT.

RString toString ()
 This method returns this date in JDBC format.


Static Public Member Functions

RTime valueOf (INP(RString) str)
 This method returns a new instance of this class by parsing a date in JDBC format into a Java date.


Static Private Member Functions

acdk::text::RSimpleDateFormat getSimpleDateFormat ()

Static Private Attributes

acdk::text::RSimpleDateFormat __sdf


Constructor & Destructor Documentation

acdk::sql::Time::Time int  hour,
int  minute,
int  second
 

This method initializes a new instance of this class with the specified year, month, and day.

Parameters:
hour The hour for this Time (0-23)
minute The minute for this time (0-59)
second The second for this time (0-59)

Deprecated:

acdk::sql::Time::Time jlong  date  ) 
 

This method initializes a new instance of this class with the specified time value representing the number of seconds since Jan 1, 1970 at 12:00 midnight GMT.

Parameters:
time The time value to intialize this Time to.


Member Function Documentation

acdk::text::RSimpleDateFormat acdk::sql::Time::getSimpleDateFormat  )  [static, private]
 

RString acdk::sql::Time::toString  )  [virtual]
 

This method returns this date in JDBC format.

Returns:
This date as a string.

Reimplemented from acdk::util::Date.

RTime acdk::sql::Time::valueOf INP(RString str  )  [static]
 

This method returns a new instance of this class by parsing a date in JDBC format into a Java date.

Parameters:
str The string to parse.
Returns:
The resulting java.sql.Time value.


Member Data Documentation

acdk::text::RSimpleDateFormat acdk::sql::Time::__sdf [static, private]