All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.xmlmiddleware.conversions.ConvertTime

java.lang.Object
   |
   +----org.xmlmiddleware.conversions.ConvertTime

public class ConvertTime
extends Object
Converts from java.sql.Times to other data types.

Actually, this class is here for completeness. It doesn't do anything useful. We follow the JDBC Getting Started manual with respect to converting Time to Timestamp. ODBC allows this, setting the date to the current date, but the Getting Started manual states that setObject cannot do this. Since the JDBC spec doesn't state whether this conversion is supported, this is the best we have to go on...

To convert to/from String, use an implementation of the Formatter interface.

Version:
2.0
Author:
Ronald Bourret, 2001

Constructor Index

 o ConvertTime()

Method Index

 o toTime(Time)

Constructors

 o ConvertTime
 public ConvertTime()

Methods

 o toTime
 public static Time toTime(Time t)

All Packages  Class Hierarchy  This Package  Previous  Next  Index