All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.xmlmiddleware.conversions.ConvertTimestamp

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

public class ConvertTimestamp
extends Object
Converts from java.sql.Timestamps to other data types.

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

Version:
2.0
Author:
Ronald Bourret, 2001

Constructor Index

 o ConvertTimestamp()

Method Index

 o toDate(Timestamp)
 o toTime(Timestamp)
 o toTimestamp(Timestamp)

Constructors

 o ConvertTimestamp
 public ConvertTimestamp()

Methods

 o toDate
 public static Date toDate(Timestamp t)
 o toTime
 public static Time toTime(Timestamp t)
 o toTimestamp
 public static Timestamp toTimestamp(Timestamp t)

All Packages  Class Hierarchy  This Package  Previous  Next  Index