All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.xmlmiddleware.conversions.ConvertDate

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

public class ConvertDate
extends Object
Converts from java.sql.Dates 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 ConvertDate()

Method Index

 o toDate(Date)
 o toTimestamp(Date)

Constructors

 o ConvertDate
 public ConvertDate()

Methods

 o toDate
 public static Date toDate(Date d)
 o toTimestamp
 public static Timestamp toTimestamp(Date d)

All Packages  Class Hierarchy  This Package  Previous  Next  Index